View difference between Paste ID: 2QKMa3Rb and CY8WDgrT
SHOW: | | - or go back to the newest paste.
1
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
2
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
3
do
4
	print("FE Compatibility code by Mokiros")
5
	script.Parent = Player.Character
6
7
	--RemoteEvent for communicating
8
	local Event = Instance.new("RemoteEvent")
9
	Event.Name = "UserInput_Event"
10
11
	--Fake event to make stuff like Mouse.KeyDown work
12
	local function fakeEvent()
13
		local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
14
		t.connect = t.Connect
15
		return t
16
	end
17
18
	--Creating fake input objects with fake variables
19
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
20
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
21
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
22
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
23
	end}
24
	--Merged 2 functions into one by checking amount of arguments
25
	CAS.UnbindAction = CAS.BindAction
26
27
	--This function will trigger the events that have been :Connect()'ed
28
	local function te(self,ev,...)
29
		local t = m[ev]
30
		if t and t._fakeEvent and t.Function then
31
			t.Function(...)
32
		end
33
	end
34
	m.TrigEvent = te
35
	UIS.TrigEvent = te
36
37
	Event.OnServerEvent:Connect(function(plr,io)
38
	    if plr~=Player then return end
39
		if io.isMouse then
40
			m.Target = io.Target
41
			m.Hit = io.Hit
42
		else
43
			local b = io.UserInputState == Enum.UserInputState.Begin
44
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
45
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
46
			end
47
			for _,t in pairs(CAS.Actions) do
48
				for _,k in pairs(t.Keys) do
49
					if k==io.KeyCode then
50
						t.Function(t.Name,io.UserInputState,io)
51
					end
52
				end
53
			end
54
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
55
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
56
	    end
57
	end)
58
	Event.Parent = NLS([==[
59
	local Player = game:GetService("Players").LocalPlayer
60
	local Event = script:WaitForChild("UserInput_Event")
61
62
	local UIS = game:GetService("UserInputService")
63
	local input = function(io,a)
64
		if a then return end
65
		--Since InputObject is a client-side instance, we create and pass table instead
66
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
67
	end
68
	UIS.InputBegan:Connect(input)
69
	UIS.InputEnded:Connect(input)
70
71
	local Mouse = Player:GetMouse()
72
	local h,t
73
	--Give the server mouse data 30 times every second, but only if the values changed
74
	--If player is not moving their mouse, client won't fire events
75
	while wait(1/30) do
76
		if h~=Mouse.Hit or t~=Mouse.Target then
77
			h,t=Mouse.Hit,Mouse.Target
78
			Event:FireServer({isMouse=true,Target=t,Hit=h})
79
		end
80
	end]==],Player.Character)
81
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
82
end
83
84
---------Replace All "kermat161" With Your Name
85
-----------------------------Script In The Line's
86
87
--TODO: add comments or something idk
88
wait(0.2)
89
90
print("Here's controls fat")
91
print("T - laugh, P - sit, Mouse1 - shoot")
92
print("sin is fat lolol")
93
94
handle = Instance.new('Part')
95
handle.Name = 'Handle'
96
handle.Parent = hat1
97
 
98
handlemesh = Instance.new('SpecialMesh')
99
handlemesh.MeshType = 'FileMesh'
100
handlemesh.MeshId = 'http://www.roblox.com/asset/?id=63688922'
101
handlemesh.TextureId = 'rbxassetid://63688929'
102
handlemesh.Parent = handlemusic
103
104
 local shirt = Instance.new("Shirt",char)
105
shirt.ShirtTemplate = "rbxassetid://2270330688"
106
local pants = Instance.new("Pants",char)
107
pants.PantsTemplate = "rbxassetid://3063981747"
108
109
local plr = owner
110
local char = plr.Character
111
local hum = char:FindFirstChildOfClass'Humanoid'
112
local hed = char.Head
113
local root = char:FindFirstChild'HumanoidRootPart'
114
local rootj = root.RootJoint
115
local tors = char.Torso
116
local ra = char["Right Arm"]
117
local la = char["Left Arm"]
118
local rl = char["Right Leg"]
119
local ll = char["Left Leg"]
120
local neck = tors["Neck"]
121
local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
122
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
123
local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
124
local maincolor = BrickColor.new("Institutional white")
125
-------------------------------------------------------
126
--Start Whitelist and Invincibility--
127
-------------------------------------------------------	
128
ff = Instance.new("ForceField",char)
129
ff.Visible = false
130
hum.Name = "Base"
131
hum.MaxHealth = 1.0E298
132
hum.Health = 1.0E298
133
game:GetService("RunService"):BindToRenderStep("Base", 0, function()
134
  if hum.Health > 0.1 and hum.Health < 1.0E298 then
135
    hum.MaxHealth = 1.0E298
136
    hum.Health = 1.0E298
137
  end
138
end)
139
-------------------------------------------------------
140
--End Whitelist and Invincibility--
141
-------------------------------------------------------	
142
143
-------------------------------------------------------
144
--Start Good Stuff--
145
-------------------------------------------------------
146
cam = game.Workspace.CurrentCamera
147
CF = CFrame.new
148
angles = CFrame.Angles
149
attack = false
150
Euler = CFrame.fromEulerAnglesXYZ
151
Rad = math.rad
152
IT = Instance.new
153
BrickC = BrickColor.new
154
Cos = math.cos
155
Acos = math.acos
156
Sin = math.sin
157
Asin = math.asin
158
Abs = math.abs
159
Mrandom = math.random
160
Floor = math.floor
161
-------------------------------------------------------
162
--End Good Stuff--
163
-------------------------------------------------------
164
necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
165
RSH, LSH = nil, nil 
166
RW = Instance.new("Weld") 
167
LW = Instance.new("Weld")
168
RH = tors["Right Hip"]
169
LH = tors["Left Hip"]
170
RSH = tors["Right Shoulder"] 
171
LSH = tors["Left Shoulder"] 
172
RSH.Parent = nil 
173
LSH.Parent = nil 
174
RW.Name = "RW"
175
RW.Part0 = tors 
176
RW.C0 = CF(1.5, 0.5, 0)
177
RW.C1 = CF(0, 0.5, 0) 
178
RW.Part1 = ra
179
RW.Parent = tors 
180
LW.Name = "LW"
181
LW.Part0 = tors 
182
LW.C0 = CF(-1.5, 0.5, 0)
183
LW.C1 = CF(0, 0.5, 0) 
184
LW.Part1 = la
185
LW.Parent = tors
186
Effects = {}
187
newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
188
    local wld = Instance.new("Weld", wp1)
189
    wld.Part0 = wp0
190
    wld.Part1 = wp1
191
    wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
192
end
193
newWeld(tors, ll, -0.5, -1, 0)
194
ll.Weld.C1 = CFrame.new(0, 1, 0)
195
newWeld(tors, rl, 0.5, -1, 0)
196
rl.Weld.C1 = CFrame.new(0, 1, 0)
197
-------------------------------------------------------
198
--Start HeartBeat--
199
-------------------------------------------------------
200
ArtificialHB = Instance.new("BindableEvent", script)
201
ArtificialHB.Name = "Heartbeat"
202
script:WaitForChild("Heartbeat")
203
204
frame = 1 / 60
205
tf = 0
206
allowframeloss = false
207
tossremainder = false
208
209
210
lastframe = tick()
211
script.Heartbeat:Fire()
212
213
214
game:GetService("RunService").Heartbeat:connect(function(s, p)
215
	tf = tf + s
216
	if tf >= frame then
217
		if allowframeloss then
218
			script.Heartbeat:Fire()
219
			lastframe = tick()
220
		else
221
			for i = 1, math.floor(tf / frame) do
222
				script.Heartbeat:Fire()
223
			end
224
			lastframe = tick()
225
		end
226
		if tossremainder then
227
			tf = 0
228
		else
229
			tf = tf - frame * math.floor(tf / frame)
230
		end
231
	end
232
end)
233
-------------------------------------------------------
234
--End HeartBeat--
235
-------------------------------------------------------
236
237
-------------------------------------------------------
238
--Start Important Functions--
239
-------------------------------------------------------
240
function swait(num)
241
	if num == 0 or num == nil then
242
		game:service("RunService").Stepped:wait(0)
243
	else
244
		for i = 0, num do
245
			game:service("RunService").Stepped:wait(0)
246
		end
247
	end
248
end
249
function thread(f)
250
	coroutine.resume(coroutine.create(f))
251
end
252
function clerp(a, b, t)
253
	local qa = {
254
		QuaternionFromCFrame(a)
255
	}
256
	local qb = {
257
		QuaternionFromCFrame(b)
258
	}
259
	local ax, ay, az = a.x, a.y, a.z
260
	local bx, by, bz = b.x, b.y, b.z
261
	local _t = 1 - t
262
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
263
end
264
function QuaternionFromCFrame(cf)
265
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
266
	local trace = m00 + m11 + m22
267
	if trace > 0 then
268
		local s = math.sqrt(1 + trace)
269
		local recip = 0.5 / s
270
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
271
	else
272
		local i = 0
273
		if m00 < m11 then
274
			i = 1
275
		end
276
		if m22 > (i == 0 and m00 or m11) then
277
			i = 2
278
		end
279
		if i == 0 then
280
			local s = math.sqrt(m00 - m11 - m22 + 1)
281
			local recip = 0.5 / s
282
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
283
		elseif i == 1 then
284
			local s = math.sqrt(m11 - m22 - m00 + 1)
285
			local recip = 0.5 / s
286
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
287
		elseif i == 2 then
288
			local s = math.sqrt(m22 - m00 - m11 + 1)
289
			local recip = 0.5 / s
290
			return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
291
		end
292
	end
293
end
294
function QuaternionToCFrame(px, py, pz, x, y, z, w)
295
	local xs, ys, zs = x + x, y + y, z + z
296
	local wx, wy, wz = w * xs, w * ys, w * zs
297
	local xx = x * xs
298
	local xy = x * ys
299
	local xz = x * zs
300
	local yy = y * ys
301
	local yz = y * zs
302
	local zz = z * zs
303
	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))
304
end
305
function QuaternionSlerp(a, b, t)
306
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
307
	local startInterp, finishInterp
308
	if cosTheta >= 1.0E-4 then
309
		if 1 - cosTheta > 1.0E-4 then
310
			local theta = math.acos(cosTheta)
311
			local invSinTheta = 1 / Sin(theta)
312
			startInterp = Sin((1 - t) * theta) * invSinTheta
313
			finishInterp = Sin(t * theta) * invSinTheta
314
		else
315
			startInterp = 1 - t
316
			finishInterp = t
317
		end
318
	elseif 1 + cosTheta > 1.0E-4 then
319
		local theta = math.acos(-cosTheta)
320
		local invSinTheta = 1 / Sin(theta)
321
		startInterp = Sin((t - 1) * theta) * invSinTheta
322
		finishInterp = Sin(t * theta) * invSinTheta
323
	else
324
		startInterp = t - 1
325
		finishInterp = t
326
	end
327
	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
328
end
329
function rayCast(Position, Direction, Range, Ignore)
330
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
331
end
332
local RbxUtility = LoadLibrary("RbxUtility")
333
local Create = RbxUtility.Create
334
335
-------------------------------------------------------
336
--Start Damage Function--
337
-------------------------------------------------------
338
function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
339
	if hit.Parent == nil then
340
		return
341
	end
342
	local h = hit.Parent:FindFirstChildOfClass("Humanoid")
343
	for _, v in pairs(hit.Parent:children()) do
344
		if v:IsA("Humanoid") then
345
			h = v
346
		end
347
	end
348
         if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
349
	
350
         hit.Parent:FindFirstChild("Head"):BreakJoints()
351
         end
352
353
	if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
354
		if hit.Parent:findFirstChild("DebounceHit") ~= nil then
355
			if hit.Parent.DebounceHit.Value == true then
356
				return
357
			end
358
		end
359
         if insta == true then
360
         hit.Parent:FindFirstChild("Head"):BreakJoints()
361
         end
362
		local c = Create("ObjectValue"){
363
			Name = "creator",
364
			Value = owner,
365
			Parent = h,
366
		}
367
		game:GetService("Debris"):AddItem(c, .5)
368
		if HitSound ~= nil and HitPitch ~= nil then
369
			CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) 
370
		end
371-
		local Damage = math.random(9999)
371+
372
		local blocked = false
373
		local block = hit.Parent:findFirstChild("Block")
374
		if block ~= nil then
375
			if block.className == "IntValue" then
376
				if block.Value > 0 then
377
					blocked = true
378
					block.Value = block.Value - 1
379
					print(block.Value)
380
				end
381
			end
382
		end
383
		if blocked == false then
384
			h.Health = h.Health - Damage
385
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
386
		else
387
			h.Health = h.Health - (Damage / 2)
388
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
389
		end
390
		if Type == "Knockdown" then
391
			local hum = hit.Parent.Humanoid
392
			hum.PlatformStand = true
393
			coroutine.resume(coroutine.create(function(HHumanoid)
394
				swait(1)
395
				HHumanoid.PlatformStand = false
396
			end), hum)
397
			local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
398
			local bodvol = Create("BodyVelocity"){
399
				velocity = angle * knockback,
400
				P = 5000,
401
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
402
				Parent = hit,
403
			}
404
			local rl = Create("BodyAngularVelocity"){
405
				P = 3000,
406
				maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
407
				angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
408
				Parent = hit,
409
			}
410
			game:GetService("Debris"):AddItem(bodvol, .5)
411
			game:GetService("Debris"):AddItem(rl, .5)
412
		elseif Type == "Normal" then
413
			local vp = Create("BodyVelocity"){
414
				P = 500,
415
				maxForce = Vector3.new(math.huge, 0, math.huge),
416
				velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
417
			}
418
			if knockback > 0 then
419
				vp.Parent = hit.Parent.Torso
420
			end
421
			game:GetService("Debris"):AddItem(vp, .5)
422
		elseif Type == "Up" then
423
			local bodyVelocity = Create("BodyVelocity"){
424
				velocity = Vector3.new(0, 20, 0),
425
				P = 5000,
426
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
427
				Parent = hit,
428
			}
429
			game:GetService("Debris"):AddItem(bodyVelocity, .5)
430
		elseif Type == "DarkUp" then
431
			coroutine.resume(coroutine.create(function()
432
				for i = 0, 1, 0.1 do
433
					swait()
434
					Effects.Block.Create(BrickColor.new("Gold"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
435
				end
436
			end))
437
			local bodyVelocity = Create("BodyVelocity"){
438
				velocity = Vector3.new(0, 20, 0),
439
				P = 5000,
440
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
441
				Parent = hit,
442
			}
443
			game:GetService("Debris"):AddItem(bodyVelocity, 1)
444
		elseif Type == "Snare" then
445
			local bp = Create("BodyPosition"){
446
				P = 2000,
447
				D = 100,
448
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
449
				position = hit.Parent.Torso.Position,
450
				Parent = hit.Parent.Torso,
451
			}
452
			game:GetService("Debris"):AddItem(bp, 1)
453
		elseif Type == "Freeze" then
454
			local BodPos = Create("BodyPosition"){
455
				P = 50000,
456
				D = 1000,
457
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
458
				position = hit.Parent.Torso.Position,
459
				Parent = hit.Parent.Torso,
460
			}
461
			local BodGy = Create("BodyGyro") {
462
				maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
463
				P = 20e+003,
464
				Parent = hit.Parent.Torso,
465
				cframe = hit.Parent.Torso.CFrame,
466
			}
467
			hit.Parent.Torso.Anchored = true
468
			coroutine.resume(coroutine.create(function(Part) 
469
				swait(1.5)
470
				Part.Anchored = false
471
			end), hit.Parent.Torso)
472
			game:GetService("Debris"):AddItem(BodPos, 3)
473
			game:GetService("Debris"):AddItem(BodGy, 3)
474
		end
475
		local debounce = Create("BoolValue"){
476
			Name = "DebounceHit",
477
			Parent = hit.Parent,
478
			Value = true,
479
		}
480
		game:GetService("Debris"):AddItem(debounce, Delay)
481
		c = Create("ObjectValue"){
482
			Name = "creator",
483
			Value = Player,
484
			Parent = h,
485
		}
486
		game:GetService("Debris"):AddItem(c, .5)
487
	end
488
end
489
-------------------------------------------------------
490
--End Damage Function--
491
-------------------------------------------------------
492
493
-------------------------------------------------------
494
--Start Damage Function Customization--
495
-------------------------------------------------------
496
function ShowDamage(Pos, Text, Time, Color)
497
	local Rate = (1 / 30)
498
	local Pos = (Pos or Vector3.new(0, 0, 0))
499
	local Text = (Text or "")
500
	local Time = (Time or 2)
501
	local Color = (Color or Color3.new(1, 0, 1))
502
	local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
503
	EffectPart.Anchored = true
504
	local BillboardGui = Create("BillboardGui"){
505
		Size = UDim2.new(3, 0, 3, 0),
506
		Adornee = EffectPart,
507
		Parent = EffectPart,
508
	}
509
	local TextLabel = Create("TextLabel"){
510
		BackgroundTransparency = 1,
511
		Size = UDim2.new(1, 0, 1, 0),
512
		Text = Text,
513
		Font = "Bodoni",
514
		TextColor3 = Color,
515
		TextScaled = true,
516
		TextStrokeColor3 = Color3.fromRGB(0,0,0),
517
		Parent = BillboardGui,
518
	}
519
	game.Debris:AddItem(EffectPart, (Time))
520
	EffectPart.Parent = game:GetService("Workspace")
521
	delay(0, function()
522
		local Frames = (Time / Rate)
523
		for Frame = 1, Frames do
524
			wait(Rate)
525
			local Percent = (Frame / Frames)
526
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
527
			TextLabel.TextTransparency = Percent
528
		end
529
		if EffectPart and EffectPart.Parent then
530
			EffectPart:Destroy()
531
		end
532
	end)
533
end
534
-------------------------------------------------------
535
--End Damage Function Customization--
536
-------------------------------------------------------
537
538
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
539
  for _, c in pairs(workspace:children()) do
540
    local hum = c:findFirstChild("Humanoid")
541
    if hum ~= nil then
542
      local head = c:findFirstChild("Head")
543
      if head ~= nil then
544
        local targ = head.Position - Part.Position
545
        local mag = targ.magnitude
546
        if magni >= mag and c.Name ~= plr.Name then
547
          Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
548
        end
549
      end
550
    end
551
  end
552
end
553
554
555
CFuncs = {
556
	Part = {
557
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
558
			local Part = Create("Part")({
559
				Parent = Parent,
560
				Reflectance = Reflectance,
561
				Transparency = Transparency,
562
				CanCollide = false,
563
				Locked = true,
564
				BrickColor = BrickColor.new(tostring(BColor)),
565
				Name = Name,
566
				Size = Size,
567
				Material = Material
568
			})
569
			RemoveOutlines(Part)
570
			return Part
571
		end
572
	},
573
	Mesh = {
574
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
575
			local Msh = Create(Mesh)({
576
				Parent = Part,
577
				Offset = OffSet,
578
				Scale = Scale
579
			})
580
			if Mesh == "SpecialMesh" then
581
				Msh.MeshType = MeshType
582
				Msh.MeshId = MeshId
583
			end
584
			return Msh
585
		end
586
	},
587
	Mesh = {
588
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
589
			local Msh = Create(Mesh)({
590
				Parent = Part,
591
				Offset = OffSet,
592
				Scale = Scale
593
			})
594
			if Mesh == "SpecialMesh" then
595
				Msh.MeshType = MeshType
596
				Msh.MeshId = MeshId
597
			end
598
			return Msh
599
		end
600
	},
601
	Weld = {
602
		Create = function(Parent, Part0, Part1, C0, C1)
603
			local Weld = Create("Weld")({
604
				Parent = Parent,
605
				Part0 = Part0,
606
				Part1 = Part1,
607
				C0 = C0,
608
				C1 = C1
609
			})
610
			return Weld
611
		end
612
	},
613
	Sound = {
614
		Create = function(id, par, vol, pit)
615
			coroutine.resume(coroutine.create(function()
616
				local S = Create("Sound")({
617
					Volume = vol,
618
					Pitch = pit or 1,
619
					SoundId = id,
620
					Parent = par or workspace
621
				})
622
				wait()
623
				S:play()
624
				game:GetService("Debris"):AddItem(S, 6)
625
			end))
626
		end
627
	},
628
	ParticleEmitter = {
629
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
630
			local fp = Create("ParticleEmitter")({
631
				Parent = Parent,
632
				Color = ColorSequence.new(Color1, Color2),
633
				LightEmission = LightEmission,
634
				Size = Size,
635
				Texture = Texture,
636
				Transparency = Transparency,
637
				ZOffset = ZOffset,
638
				Acceleration = Accel,
639
				Drag = Drag,
640
				LockedToPart = LockedToPart,
641
				VelocityInheritance = VelocityInheritance,
642
				EmissionDirection = EmissionDirection,
643
				Enabled = Enabled,
644
				Lifetime = LifeTime,
645
				Rate = Rate,
646
				Rotation = Rotation,
647
				RotSpeed = RotSpeed,
648
				Speed = Speed,
649
				VelocitySpread = VelocitySpread
650
			})
651
			return fp
652
		end
653
	}
654
}
655
function RemoveOutlines(part)
656
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
657
end
658
function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
659
	local Part = Create("Part")({
660
		formFactor = FormFactor,
661
		Parent = Parent,
662
		Reflectance = Reflectance,
663
		Transparency = Transparency,
664
		CanCollide = false,
665
		Locked = true,
666
		BrickColor = BrickColor.new(tostring(BColor)),
667
		Name = Name,
668
		Size = Size,
669
		Material = Material
670
	})
671
	RemoveOutlines(Part)
672
	return Part
673
end
674
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
675
	local Msh = Create(Mesh)({
676
		Parent = Part,
677
		Offset = OffSet,
678
		Scale = Scale
679
	})
680
	if Mesh == "SpecialMesh" then
681
		Msh.MeshType = MeshType
682
		Msh.MeshId = MeshId
683
	end
684
	return Msh
685
end
686
function CreateWeld(Parent, Part0, Part1, C0, C1)
687
	local Weld = Create("Weld")({
688
		Parent = Parent,
689
		Part0 = Part0,
690
		Part1 = Part1,
691
		C0 = C0,
692
		C1 = C1
693
	})
694
	return Weld
695
end
696
697
698
-------------------------------------------------------
699
--Start Effect Function--
700
-------------------------------------------------------
701
EffectModel = Instance.new("Model", char)
702
Effects = {
703
  Block = {
704
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
705
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
706
      prt.Anchored = true
707
      prt.CFrame = cframe
708
      local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
709
      game:GetService("Debris"):AddItem(prt, 10)
710
      if Type == 1 or Type == nil then
711
        table.insert(Effects, {
712
          prt,
713
          "Block1",
714
          delay,
715
          x3,
716
          y3,
717
          z3,
718
          msh
719
        })
720
      elseif Type == 2 then
721
        table.insert(Effects, {
722
          prt,
723
          "Block2",
724
          delay,
725
          x3,
726
          y3,
727
          z3,
728
          msh
729
        })
730
      else
731
        table.insert(Effects, {
732
          prt,
733
          "Block3",
734
          delay,
735
          x3,
736
          y3,
737
          z3,
738
          msh
739
        })
740
      end
741
    end
742
  },
743
  Sphere = {
744
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
745
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
746
      prt.Anchored = true
747
      prt.CFrame = cframe
748
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
749
      game:GetService("Debris"):AddItem(prt, 10)
750
      table.insert(Effects, {
751
        prt,
752
        "Cylinder",
753
        delay,
754
        x3,
755
        y3,
756
        z3,
757
        msh
758
      })
759
    end
760
  },
761
  Cylinder = {
762
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
763
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
764
      prt.Anchored = true
765
      prt.CFrame = cframe
766
      local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
767
      game:GetService("Debris"):AddItem(prt, 10)
768
      table.insert(Effects, {
769
        prt,
770
        "Cylinder",
771
        delay,
772
        x3,
773
        y3,
774
        z3,
775
        msh
776
      })
777
    end
778
  },
779
  Wave = {
780
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
781
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
782
      prt.Anchored = true
783
      prt.CFrame = cframe
784
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
785
      game:GetService("Debris"):AddItem(prt, 10)
786
      table.insert(Effects, {
787
        prt,
788
        "Cylinder",
789
        delay,
790
        x3 / 60,
791
        y3 / 60,
792
        z3 / 60,
793
        msh
794
      })
795
    end
796
  },
797
  Ring = {
798
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
799
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
800
      prt.Anchored = true
801
      prt.CFrame = cframe
802
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
803
      game:GetService("Debris"):AddItem(prt, 10)
804
      table.insert(Effects, {
805
        prt,
806
        "Cylinder",
807
        delay,
808
        x3,
809
        y3,
810
        z3,
811
        msh
812
      })
813
    end
814
  },
815
  Break = {
816
    Create = function(brickcolor, cframe, x1, y1, z1)
817
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
818
      prt.Anchored = true
819
      prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
820
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
821
      local num = math.random(10, 50) / 1000
822
      game:GetService("Debris"):AddItem(prt, 10)
823
      table.insert(Effects, {
824
        prt,
825
        "Shatter",
826
        num,
827
        prt.CFrame,
828
        math.random() - math.random(),
829
        0,
830
        math.random(50, 100) / 100
831
      })
832
    end
833
  },
834
Spiral = {
835
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
836
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
837
      prt.Anchored = true
838
      prt.CFrame = cframe
839
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
840
      game:GetService("Debris"):AddItem(prt, 10)
841
      table.insert(Effects, {
842
        prt,
843
        "Cylinder",
844
        delay,
845
        x3,
846
        y3,
847
        z3,
848
        msh
849
      })
850
    end
851
  },
852
Push = {
853
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
854
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
855
      prt.Anchored = true
856
      prt.CFrame = cframe
857
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
858
      game:GetService("Debris"):AddItem(prt, 10)
859
      table.insert(Effects, {
860
        prt,
861
        "Cylinder",
862
        delay,
863
        x3,
864
        y3,
865
        z3,
866
        msh
867
      })
868
    end
869
  }
870
}
871
function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
872
	local fp = IT("Part")
873
	fp.formFactor = formfactor 
874
	fp.Parent = parent
875
	fp.Reflectance = reflectance
876
	fp.Transparency = transparency
877
	fp.CanCollide = false 
878
	fp.Locked = true
879
	fp.BrickColor = brickcolor
880
	fp.Name = name
881
	fp.Size = size
882
	fp.Position = tors.Position 
883
	RemoveOutlines(fp)
884
	fp.Material = "SmoothPlastic"
885
	fp:BreakJoints()
886
	return fp 
887
end 
888
 
889
function mesh(Mesh,part,meshtype,meshid,offset,scale)
890
	local mesh = IT(Mesh) 
891
	mesh.Parent = part
892
	if Mesh == "SpecialMesh" then
893
		mesh.MeshType = meshtype
894
	if meshid ~= "nil" then
895
		mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
896
		end
897
	end
898
	mesh.Offset = offset
899
	mesh.Scale = scale
900
	return mesh
901
end
902
903
function Magic(bonuspeed, type, pos, scale, value, color, MType)
904
	local type = type
905
	local rng = Instance.new("Part", char)
906
	rng.Anchored = true
907
	rng.BrickColor = color
908
	rng.CanCollide = false
909
	rng.FormFactor = 3
910
	rng.Name = "Ring"
911
	rng.Material = "Neon"
912
	rng.Size = Vector3.new(1, 1, 1)
913
	rng.Transparency = 0
914
	rng.TopSurface = 0
915
	rng.BottomSurface = 0
916
	rng.CFrame = pos
917
	local rngm = Instance.new("SpecialMesh", rng)
918
	rngm.MeshType = MType
919
	rngm.Scale = scale
920
	local scaler2 = 1
921
	if type == "Add" then
922
		scaler2 = 1 * value
923
	elseif type == "Divide" then
924
		scaler2 = 1 / value
925
	end
926
	coroutine.resume(coroutine.create(function()
927
		for i = 0, 10 / bonuspeed, 0.1 do
928
			swait()
929
			if type == "Add" then
930
				scaler2 = scaler2 - 0.01 * value / bonuspeed
931
			elseif type == "Divide" then
932
				scaler2 = scaler2 - 0.01 / value * bonuspeed
933
			end
934
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
935
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
936
		end
937
		rng:Destroy()
938
	end))
939
end
940
941
function Eviscerate(dude)
942
	if dude.Name ~= char then
943
		local bgf = IT("BodyGyro", dude.Head)
944
		bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
945
		local val = IT("BoolValue", dude)
946
		val.Name = "IsHit"
947
		local ds = coroutine.wrap(function()
948
			dude:WaitForChild("Head"):BreakJoints()
949
			wait(0.5)
950
			target = nil
951
			coroutine.resume(coroutine.create(function()
952
				for i, v in pairs(dude:GetChildren()) do
953
					if v:IsA("Accessory") then
954
						v:Destroy()
955
					end
956
					if v:IsA("Humanoid") then
957
						v:Destroy()
958
					end
959
					if v:IsA("CharacterMesh") then
960
						v:Destroy()
961
					end
962
					if v:IsA("Model") then
963
						v:Destroy()
964
					end
965
					if v:IsA("Part") or v:IsA("MeshPart") then
966
						for x, o in pairs(v:GetChildren()) do
967
							if o:IsA("Decal") then
968
								o:Destroy()
969
							end
970
						end
971
						coroutine.resume(coroutine.create(function()
972
							v.Material = "Neon"
973
							v.CanCollide = false
974
							local PartEmmit1 = IT("ParticleEmitter", v)
975
							PartEmmit1.LightEmission = 1
976
							PartEmmit1.Texture = "rbxassetid://284205403"
977
							PartEmmit1.Color = ColorSequence.new(maincolor.Color)
978
							PartEmmit1.Rate = 150
979
							PartEmmit1.Lifetime = NumberRange.new(1)
980
							PartEmmit1.Size = NumberSequence.new({
981
								NumberSequenceKeypoint.new(0, 0.75, 0),
982
								NumberSequenceKeypoint.new(1, 0, 0)
983
							})
984
							PartEmmit1.Transparency = NumberSequence.new({
985
								NumberSequenceKeypoint.new(0, 0, 0),
986
								NumberSequenceKeypoint.new(1, 1, 0)
987
							})
988
							PartEmmit1.Speed = NumberRange.new(0, 0)
989
							PartEmmit1.VelocitySpread = 30000
990
							PartEmmit1.Rotation = NumberRange.new(-500, 500)
991
							PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
992
							local BodPoss = IT("BodyPosition", v)
993
							BodPoss.P = 3000
994
							BodPoss.D = 1000
995
							BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
996
							BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
997
							v.Color = maincolor.Color
998
							coroutine.resume(coroutine.create(function()
999
								for i = 0, 49 do
1000
									swait(1)
1001
									v.Transparency = v.Transparency + 0.08
1002
								end
1003
								wait(0.5)
1004
								PartEmmit1.Enabled = false
1005
								wait(3)
1006
								v:Destroy()
1007
								dude:Destroy()
1008
							end))
1009
						end))
1010
					end
1011
				end
1012
			end))
1013
		end)
1014
		ds()
1015
	end
1016
end
1017
1018
function FindNearestHead(Position, Distance, SinglePlayer)
1019
	if SinglePlayer then
1020
		return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
1021
	end
1022
	local List = {}
1023
	for i, v in pairs(workspace:GetChildren()) do
1024
		if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
1025
			table.insert(List, v)
1026
		end
1027
	end
1028
	return List
1029
end
1030
1031
function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
1032
	local type = type
1033
	local rng = Instance.new("Part", char)
1034
	rng.Anchored = true
1035
	rng.BrickColor = color
1036
	rng.CanCollide = false
1037
	rng.FormFactor = 3
1038
	rng.Name = "Ring"
1039
	rng.Material = "Neon"
1040
	rng.Size = Vector3.new(1, 1, 1)
1041
	rng.Transparency = 0
1042
	rng.TopSurface = 0
1043
	rng.BottomSurface = 0
1044
	rng.CFrame = pos
1045
	rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
1046
	local rngm = Instance.new("SpecialMesh", rng)
1047
	rngm.MeshType = MType
1048
	rngm.Scale = Vector3.new(x1, y1, z1)
1049
	local scaler2 = 1
1050
	local speeder = FastSpeed
1051
	if type == "Add" then
1052
		scaler2 = 1 * value
1053
	elseif type == "Divide" then
1054
		scaler2 = 1 / value
1055
	end
1056
	coroutine.resume(coroutine.create(function()
1057
		for i = 0, 10 / bonuspeed, 0.1 do
1058
			swait()
1059
			if type == "Add" then
1060
				scaler2 = scaler2 - 0.01 * value / bonuspeed
1061
			elseif type == "Divide" then
1062
				scaler2 = scaler2 - 0.01 / value * bonuspeed
1063
			end
1064
			speeder = speeder - 0.01 * FastSpeed * bonuspeed
1065
			rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
1066
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
1067
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
1068
		end
1069
		rng:Destroy()
1070
	end))
1071
end
1072
1073
function SoulSteal(dude)
1074
if dude.Name ~= char then
1075
local bgf = IT("BodyGyro", dude.Head)
1076
bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
1077
local val = IT("BoolValue", dude)
1078
val.Name = "IsHit"
1079
local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
1080
local soulst = coroutine.wrap(function()
1081
local soul = Instance.new("Part",dude)
1082
soul.Size = Vector3.new(1,1,1)
1083
soul.CanCollide = false
1084
soul.Anchored = false
1085
soul.Position = torso.Position
1086
soul.Transparency = 1
1087
local PartEmmit1 = IT("ParticleEmitter", soul)
1088
PartEmmit1.LightEmission = 1
1089
PartEmmit1.Texture = "rbxassetid://569507414"
1090
PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1091
PartEmmit1.Rate = 250
1092
PartEmmit1.Lifetime = NumberRange.new(1.6)
1093
PartEmmit1.Size = NumberSequence.new({
1094
	NumberSequenceKeypoint.new(0, 1, 0),
1095
	NumberSequenceKeypoint.new(1, 0, 0)
1096
})
1097
PartEmmit1.Transparency = NumberSequence.new({
1098
	NumberSequenceKeypoint.new(0, 0, 0),
1099
	NumberSequenceKeypoint.new(1, 1, 0)
1100
})
1101
PartEmmit1.Speed = NumberRange.new(0, 0)
1102
PartEmmit1.VelocitySpread = 30000
1103
PartEmmit1.Rotation = NumberRange.new(-360, 360)
1104
PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
1105
local BodPoss = IT("BodyPosition", soul)
1106
BodPoss.P = 3000
1107
BodPoss.D = 1000
1108
BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
1109
BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
1110
wait(1.6)
1111
soul.Touched:connect(function(hit)
1112
	if hit.Parent == char then
1113
	soul:Destroy()
1114
	end
1115
end)
1116
wait(1.2)
1117
while soul do
1118
	swait()
1119
	PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1120
	BodPoss.Position = tors.Position
1121
end
1122
end)
1123
	soulst()
1124
	end
1125
end
1126
function FaceMouse()
1127
local	Cam = workspace.CurrentCamera
1128
	return {
1129
		CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
1130
		Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
1131
	}
1132
end
1133
Effects = {
1134
	Block = function(cf,partsize,meshstart,meshadd,matr,colour,spin,inverse,factor)
1135
	local p = Instance.new("Part",EffectModel)
1136
	p.BrickColor = BrickColor.new(colour)
1137
	p.Size = partsize
1138
	p.Anchored = true
1139
	p.CanCollide = false
1140
	p.Material = matr
1141
	p.CFrame = cf
1142
	if inverse == true then
1143
		p.Transparency = 1
1144
	else
1145
		p.Transparency = 0
1146
	end
1147
	local m = Instance.new("BlockMesh",p)
1148
	m.Scale = meshstart
1149
	coroutine.wrap(function()
1150
		for i = 0, 1, factor do
1151
			swait()
1152
			if inverse == true then
1153
				p.Transparency = 1-i
1154
			else
1155
				p.Transparency = i
1156
			end
1157
			m.Scale = m.Scale + meshadd
1158
			if spin == true then
1159
				p.CFrame = p.CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
1160
			end
1161
		end
1162
		p:Destroy()
1163
	end)()
1164
return p
1165
	end,
1166
	Sphere = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
1167
	local p = Instance.new("Part",EffectModel)
1168
	p.BrickColor = BrickColor.new(colour)
1169
	p.Size = partsize
1170
	p.Anchored = true
1171
	p.CanCollide = false
1172
	p.Material = matr
1173
	p.CFrame = cf
1174
	if inverse == true then
1175
		p.Transparency = 1
1176
	else
1177
		p.Transparency = 0
1178
	end
1179
	local m = Instance.new("SpecialMesh",p)
1180
	m.MeshType = "Sphere"
1181
	m.Scale = meshstart
1182
	coroutine.wrap(function()
1183
		for i=0,1,factor do
1184
			swait()
1185
			if inverse == true then
1186
				p.Transparency = 1-i
1187
			else
1188
				p.Transparency = i
1189
			end
1190
			m.Scale = m.Scale + meshadd
1191
		end
1192
	p:Destroy()
1193
end)()
1194
return p
1195
	end,
1196
1197
	Cylinder = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
1198
	local p = Instance.new("Part",EffectModel)
1199
	p.BrickColor = BrickColor.new(colour)
1200
	p.Size = partsize
1201
	p.Anchored = true
1202
	p.CanCollide = false
1203
	p.Material = matr
1204
	p.CFrame = cf
1205
	if inverse == true then
1206
		p.Transparency = 1
1207
	else
1208
		p.Transparency = 0
1209
	end
1210
	local m = Instance.new("CylinderMesh",p)
1211
	m.Scale = meshstart
1212
	coroutine.wrap(function()
1213
		for i=0,1,factor do
1214
			swait()
1215
			if inverse == true then
1216
				p.Transparency = 1-i
1217
			else
1218
				p.Transparency = i
1219
			end
1220
			m.Scale = m.Scale + meshadd
1221
		end
1222
	p:Destroy()
1223
end)()
1224
return p
1225
	end,
1226
1227
Wave = function(cf,meshstart,meshadd,colour,spin,inverse,factor)
1228
local p = Instance.new("Part",EffectModel)
1229
p.BrickColor = BrickColor.new(colour)
1230
p.Size = Vector3.new()
1231
p.Anchored = true
1232
p.CanCollide = false
1233
p.CFrame = cf
1234
if inverse == true then
1235
p.Transparency = 1
1236
else
1237
p.Transparency = 0
1238
end
1239
local m = Instance.new("SpecialMesh",p)
1240
m.MeshId = "rbxassetid://20329976"
1241
m.Scale = meshstart
1242
coroutine.wrap(function()
1243
for i=0,1,factor do
1244
swait()
1245
if inverse == true then
1246
p.Transparency = 1-i
1247
else
1248
p.Transparency = i
1249
end
1250
m.Scale = m.Scale + meshadd
1251
p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
1252
end
1253
p:Destroy()
1254
end)()
1255
return p
1256
end,
1257
1258
Ring = function(cf,meshstart,meshadd,colour,inverse,factor)
1259
local p = Instance.new("Part",EffectModel)
1260
p.BrickColor = BrickColor.new(colour)
1261
p.Size = Vector3.new()
1262
p.Anchored = true
1263
p.CanCollide = false
1264
p.CFrame = cf
1265
if inverse == true then
1266
p.Transparency = 1
1267
else
1268
p.Transparency = 0
1269
end
1270
local m = Instance.new("SpecialMesh",p)
1271
m.MeshId = "rbxassetid://3270017"
1272
m.Scale = meshstart
1273
coroutine.wrap(function()
1274
for i=0,1,factor do
1275
swait()
1276
if inverse == true then
1277
p.Transparency = 1-i
1278
else
1279
p.Transparency = i
1280
end
1281
m.Scale = m.Scale + meshadd
1282
end
1283
p:Destroy()
1284
end)()
1285
return p
1286
end,
1287
1288
Meshed = function(cf,meshstart,meshadd,colour,meshid,textid,spin,inverse,factor)
1289
local p = Instance.new("Part",EffectModel)
1290
p.BrickColor = BrickColor.new(colour)
1291
p.Size = Vector3.new()
1292
p.Anchored = true
1293
p.CanCollide = false
1294
p.CFrame = cf
1295
if inverse == true then
1296
p.Transparency = 1
1297
else
1298
p.Transparency = 0
1299
end
1300
local m = Instance.new("SpecialMesh",p)
1301
m.MeshId = meshid
1302
m.TextureId = textid
1303
m.Scale = meshstart
1304
coroutine.wrap(function()
1305
for i=0,1,factor do
1306
swait()
1307
if inverse == true then
1308
p.Transparency = 1-i
1309
else
1310
p.Transparency = i
1311
end
1312
m.Scale = m.Scale + meshadd
1313
p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
1314
end
1315
p:Destroy()
1316
end)()
1317
return p
1318
end,
1319
1320
Explode = function(cf,partsize,meshstart,meshadd,matr,colour,move,inverse,factor)
1321
local p = Instance.new("Part",EffectModel)
1322
p.BrickColor = BrickColor.new(colour)
1323
p.Size = partsize
1324
p.Anchored = true
1325
p.CanCollide = false
1326
p.Material = matr
1327
p.CFrame = cf * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
1328
if inverse == true then
1329
p.Transparency = 1
1330
else
1331
p.Transparency = 0
1332
end
1333
local m = Instance.new("SpecialMesh",p)
1334
m.MeshType = "Sphere"
1335
m.Scale = meshstart
1336
coroutine.wrap(function()
1337
for i=0,1,factor do
1338
swait()
1339
if inverse == true then
1340
p.Transparency = 1-i
1341
else
1342
p.Transparency = i
1343
end
1344
m.Scale = m.Scale + meshadd
1345
p.CFrame = p.CFrame * CFrame.new(0,move,0)
1346
end
1347
p:Destroy()
1348
end)()
1349
return p
1350
end,
1351
1352
}
1353
-------------------------------------------------------
1354
--End Effect Function--
1355
-------------------------------------------------------
1356
function Cso(ID, PARENT, VOLUME, PITCH)
1357
	local NSound = nil
1358
	coroutine.resume(coroutine.create(function()
1359
		NSound = IT("Sound", PARENT)
1360
		NSound.Volume = VOLUME
1361
		NSound.Pitch = PITCH
1362
		NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
1363
		swait()
1364
		NSound:play()
1365
		game:GetService("Debris"):AddItem(NSound, 10)
1366
	end))
1367
	return NSound
1368
end
1369
function CamShake(Length, Intensity)
1370
	coroutine.resume(coroutine.create(function()
1371
		local intensity = 1 * Intensity
1372
		local rotM = 0.01 * Intensity
1373
		for i = 0, Length, 0.1 do
1374
			swait()
1375
			intensity = intensity - 0.05 * Intensity / Length
1376
			rotM = rotM - 5.0E-4 * Intensity / Length
1377
			hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
1378
			cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
1379
		end
1380
		hum.CameraOffset = Vector3.new(0, 0, 0)
1381
	end))
1382
end
1383
NewInstance = function(instance,parent,properties)
1384
	local inst = Instance.new(instance)
1385
	inst.Parent = parent
1386
	if(properties)then
1387
		for i,v in next, properties do
1388
			pcall(function() inst[i] = v end)
1389
		end
1390
	end
1391
	return inst;
1392
end
1393
function New(Object, Parent, Name, Data)
1394
	local Object = Instance.new(Object)
1395
	for Index, Value in pairs(Data or {}) do
1396
		Object[Index] = Value
1397
	end
1398
	Object.Parent = Parent
1399
	Object.Name = Name
1400
	return Object
1401
end
1402
Uzi = New("Model", char, "Uzi", {})
1403
Handle = New("Part", Uzi, "Handle", {
1404
	BrickColor = BrickColor.new("Gold"),
1405
	Transparency = 1,
1406
	Transparency = 1,
1407
	FormFactor = Enum.FormFactor.Custom,
1408
	Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
1409
	CFrame = CFrame.new(-63.9497833, 3.39759564, 8.0905323, -0.999997377, -1.38907907E-9, 5.60066837E-9, -4.67619166E-10, 0.999989152, 5.95959136E-7, -1.86810212E-9, 1.98648195E-7, -0.999986291),
1410
	CanCollide = false,
1411
	BottomSurface = Enum.SurfaceType.Smooth,
1412
	TopSurface = Enum.SurfaceType.Smooth,
1413
	Color = Color3.new(0.105882, 0.164706, 0.207843)
1414
})
1415
Port = New("Part", Uzi, "Port", {
1416
	BrickColor = BrickColor.new("Dark stone grey"),
1417
	Material = Enum.Material.SmoothPlastic,
1418
	Transparency = 1,
1419
	Transparency = 1,
1420
	FormFactor = Enum.FormFactor.Custom,
1421
	Size = Vector3.new(0.303939581, 0.303939581, 0.514359295),
1422
	CFrame = CFrame.new(-64.0102158, 4.07008171, 7.94762278, -0.258818001, 0.965921998, 7.03767E-9, -0.965913594, -0.258815765, -8.10978804E-7, -2.25573785E-7, -4.02978912E-8, 0.999983191),
1423
	CanCollide = false,
1424
	BackSurface = Enum.SurfaceType.SmoothNoOutlines,
1425
	BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
1426
	FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
1427
	LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
1428
	RightSurface = Enum.SurfaceType.SmoothNoOutlines,
1429
	TopSurface = Enum.SurfaceType.SmoothNoOutlines,
1430
	Color = Color3.new(0.388235, 0.372549, 0.384314)
1431
})
1432
Mesh = New("BlockMesh", Port, "Mesh", {
1433
	Scale = Vector3.new(0.0769230723, 0.538461506, 1)
1434
})
1435
mot = New("Motor", Port, "mot", {
1436
	Part0 = Port,
1437
	Part1 = Handle,
1438
	C0 = CFrame.new(0, 0, 0, -0.258819044, -0.965925932, -5.89169019E-7, 0.965925872, -0.258819073, -1.6708546E-7, 8.90398955E-9, -6.12338397E-7, 1),
1439
	C1 = CFrame.new(0.0604324341, 0.672489882, 0.142884254, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
1440
})
1441
Mag2 = New("Part", Uzi, "Mag2", {
1442
	BrickColor = BrickColor.new("Dark stone grey"),
1443
	Elasticity = 0,
1444
	FormFactor = Enum.FormFactor.Custom,
1445
	Size = Vector3.new(0.303939581, 0.969711781, 0.303939581),
1446
	CFrame = CFrame.new(-63.8785477, 2.57360268, 8.01299381, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490618E-5, 0.999989152, -3.46755522E-4, 0.999986291, -4.34514986E-5, -1.51409104E-5),
1447
	CanCollide = false,
1448
	BottomSurface = Enum.SurfaceType.Smooth,
1449
	TopSurface = Enum.SurfaceType.Smooth,
1450
	Color = Color3.new(0.388235, 0.372549, 0.384314)
1451
})
1452
Mesh = New("BlockMesh", Mag2, "Mesh", {
1453
	Scale = Vector3.new(0.809523821, 1, 0.714285731)
1454
})
1455
mot = New("Motor", Mag2, "mot", {
1456
	Part0 = Mag2,
1457
	Part1 = Handle,
1458
	C0 = CFrame.new(0, 0, 0, -1.51580507E-5, 4.32481829E-5, 1, -3.46759072E-4, 1, -4.32534325E-5, -1, -3.46759742E-4, -1.51430522E-5),
1459
	C1 = CFrame.new(-0.0712356567, -0.824002028, 0.077539444, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
1460
})
1461
Part = New("Part", Uzi, "Part", {
1462
	BrickColor = BrickColor.new("Gold"),
1463
	Elasticity = 0,
1464
	FormFactor = Enum.FormFactor.Symmetric,
1465
	Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
1466
	CFrame = CFrame.new(-63.8792877, 3.47921586, 7.06472969, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490618E-5, 0.999989152, -3.46755522E-4, 0.999986291, -4.34514986E-5, -1.51409104E-5),
1467
	CanCollide = false,
1468
	BottomSurface = Enum.SurfaceType.Smooth,
1469
	TopSurface = Enum.SurfaceType.Smooth,
1470
	Color = Color3.new(0.105882, 0.164706, 0.207843)
1471
})
1472
Mesh = New("BlockMesh", Part, "Mesh", {
1473
	Scale = Vector3.new(0.0476190485, 0.380952388, 0.190476194)
1474
})
1475
mot = New("Motor", Part, "mot", {
1476
	Part0 = Part,
1477
	Part1 = Handle,
1478
	C0 = CFrame.new(0, 0, 0, -1.51580507E-5, 4.32481829E-5, 1, -3.46759072E-4, 1, -4.32534325E-5, -1, -3.46759742E-4, -1.51430522E-5),
1479
	C1 = CFrame.new(-0.0704956055, 0.0816204548, 1.02581644, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
1480
})
1481
AimPart = New("Part", Uzi, "AimPart", {
1482
	BrickColor = BrickColor.new("Gold"),
1483
	Transparency = 1,
1484
	Transparency = 1,
1485
	FormFactor = Enum.FormFactor.Custom,
1486
	Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
1487
	CFrame = CFrame.new(-63.8798447, 4.32250595, 5.97696972, -0.999997377, -1.38856626E-9, 5.60066127E-9, -4.67106354E-10, 0.999989152, 5.95963002E-7, -1.86809501E-9, 1.9865206E-7, -0.999986291),
1488
	CanCollide = false,
1489
	BottomSurface = Enum.SurfaceType.Smooth,
1490
	TopSurface = Enum.SurfaceType.Smooth,
1491
	Color = Color3.new(0.105882, 0.164706, 0.207843)
1492
})
1493
mot = New("Motor", AimPart, "mot", {
1494
	Part0 = AimPart,
1495
	Part1 = Handle,
1496
	C0 = CFrame.new(0, 0, 0, -1, -9.25960919E-10, -3.73438835E-9, -9.25962418E-10, 1, 3.97315489E-7, 3.73438791E-9, 3.97315489E-7, -1),
1497
	C1 = CFrame.new(-0.0699386597, 0.92491889, 2.11359167, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
1498
})
1499
Hole = New("Part", Uzi, "Hole", {
1500
	BrickColor = BrickColor.new("Really Gold"),
1501
	Elasticity = 0,
1502
	FormFactor = Enum.FormFactor.Custom,
1503
	Size = Vector3.new(0.607879162, 0.607879221, 1.51969779),
1504
	CFrame = CFrame.new(-64.0106277, 4.09136534, 7.99518442, 3.04593304E-5, -6.80373148E-7, 0.999997377, -0.999989152, -1.32646619E-5, 3.04581481E-5, 1.36619119E-5, -0.999986291, -6.84514248E-7),
1505
	CanCollide = false,
1506
	BottomSurface = Enum.SurfaceType.Smooth,
1507
	TopSurface = Enum.SurfaceType.Smooth,
1508
	Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
1509
})
1510
Mesh = New("BlockMesh", Hole, "Mesh", {
1511
	Scale = Vector3.new(0.238095239, 1.19047618, 0.0476190485)
1512
})
1513
mot = New("Motor", Hole, "mot", {
1514
	Part0 = Hole,
1515
	Part1 = Handle,
1516
	C0 = CFrame.new(0, 0, 0, 3.04589466E-5, -1, 1.34634383E-5, -6.8224125E-7, -1.34634593E-5, -1, 1, 3.04589375E-5, -6.82651319E-7),
1517
	C1 = CFrame.new(0.0608444214, 0.693777323, 0.0953493118, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
1518
})
1519
NoSight = New("Part", Uzi, "NoSight", {
1520
	BrickColor = BrickColor.new("Gold"),
1521
	Elasticity = 0,
1522
	FormFactor = Enum.FormFactor.Custom,
1523
	Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
1524
	CFrame = CFrame.new(-63.9215851, 4.32565308, 8.6785574, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490618E-5, 0.999989152, -3.46755522E-4, 0.999986291, -4.34514986E-5, -1.51409104E-5),
1525
	CanCollide = false,
1526
	BottomSurface = Enum.SurfaceType.Smooth,
1527
	TopSurface = Enum.SurfaceType.Smooth,
1528
	Color = Color3.new(0.105882, 0.164706, 0.207843)
1529
})
1530
Mesh = New("SpecialMesh", NoSight, "Mesh", {
1531
	Scale = Vector3.new(0.333333343, 0.142857149, 0.095238097),
1532
	MeshType = Enum.MeshType.Wedge
1533
})
1534
mot = New("Motor", NoSight, "mot", {
1535
	Part0 = NoSight,
1536
	Part1 = Handle,
1537
	C0 = CFrame.new(0, 0, 0, -1.51580507E-5, 4.32481829E-5, 1, -3.46759072E-4, 1, -4.32534325E-5, -1, -3.46759742E-4, -1.51430522E-5),
1538
	C1 = CFrame.new(-0.0281982422, 0.928067923, -0.588032722, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
1539
})
1540
NoSight = New("Part", Uzi, "NoSight", {
1541
	BrickColor = BrickColor.new("Gold"),
1542
	Elasticity = 0,
1543
	FormFactor = Enum.FormFactor.Custom,
1544
	Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
1545
	CFrame = CFrame.new(-63.8792877, 4.27408314, 8.6785574, -0.999997377, 3.7727732E-4, 4.80012168E-5, -3.77270597E-4, -0.999989152, 5.5595694E-5, 4.8025533E-5, 5.59747241E-5, 0.999986291),
1546
	CanCollide = false,
1547
	BottomSurface = Enum.SurfaceType.Smooth,
1548
	TopSurface = Enum.SurfaceType.Smooth,
1549
	Color = Color3.new(0.105882, 0.164706, 0.207843)
1550
})
1551
Mesh = New("SpecialMesh", NoSight, "Mesh", {
1552
	Scale = Vector3.new(0.380952358, 0.190476194, 0.333333343),
1553
	MeshType = Enum.MeshType.Torso
1554
})
1555
mot = New("Motor", NoSight, "mot", {
1556
	Part0 = NoSight,
1557
	Part1 = Handle,
1558
	C0 = CFrame.new(0, 0, 0, -1, -3.77275166E-4, 4.80242488E-5, 3.77277844E-4, -1, 5.57768326E-5, 4.80032068E-5, 5.57949534E-5, 1),
1559
	C1 = CFrame.new(-0.0704956055, 0.876497507, -0.588032722, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
1560
})
1561
NoSight = New("Part", Uzi, "NoSight", {
1562
	BrickColor = BrickColor.new("White"),
1563
	Transparency = 1,
1564
	Transparency = 1,
1565
	Elasticity = 0,
1566
	FormFactor = Enum.FormFactor.Custom,
1567
	Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
1568
	CFrame = CFrame.new(-63.8792877, 4.33158779, 9.11930084, 0.999997377, -3.77276359E-4, -1.73402132E-5, 3.77273274E-4, 0.999989152, 5.57149033E-5, 1.73151166E-5, -5.61185843E-5, 0.999986291),
1569
	CanCollide = false,
1570
	BottomSurface = Enum.SurfaceType.Smooth,
1571
	TopSurface = Enum.SurfaceType.Smooth,
1572
	Color = Color3.new(0.94902, 0.952941, 0.952941)
1573
})
1574
lenspart = New("IntValue", NoSight, "lenspart", {})
1575
Mesh = New("BlockMesh", NoSight, "Mesh", {
1576
	Scale = Vector3.new(0.095238097, 0.0476190485, 0.0476190485)
1577
})
1578
mot = New("Motor", NoSight, "mot", {
1579
	Part0 = NoSight,
1580
	Part1 = Handle,
1581
	C0 = CFrame.new(0, 0, 0, 1, 3.77277844E-4, 1.73172939E-5, -3.77276883E-4, 1, -5.59206928E-5, -1.73383924E-5, 5.59141627E-5, 1),
1582
	C1 = CFrame.new(-0.0704956055, 0.934002638, -1.02878189, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
1583
})
1584
NoSight = New("Part", Uzi, "NoSight", {
1585
	BrickColor = BrickColor.new("Gold"),
1586
	Elasticity = 0,
1587
	FormFactor = Enum.FormFactor.Custom,
1588
	Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
1589
	CFrame = CFrame.new(-63.8792877, 4.29654217, 9.19813633, 4.20435099E-4, -1.53568108E-5, 0.999997318, -0.999989092, -4.51352062E-5, 4.20430006E-4, 4.55259251E-5, -0.999986291, -1.53795154E-5),
1590
	CanCollide = false,
1591
	BottomSurface = Enum.SurfaceType.Smooth,
1592
	TopSurface = Enum.SurfaceType.Smooth,
1593
	Color = Color3.new(0.105882, 0.164706, 0.207843)
1594
})
1595
Mesh = New("BlockMesh", NoSight, "Mesh", {
1596
	Scale = Vector3.new(0.285714269, 0.476190478, 0.095238097)
1597
})
1598
mot = New("Motor", NoSight, "mot", {
1599
	Part0 = NoSight,
1600
	Part1 = Handle,
1601
	C0 = CFrame.new(0, 0, 0, 4.20435739E-4, -0.99999994, 4.53278881E-5, -1.53587171E-5, -4.53343491E-5, -1, 0.99999994, 4.20435041E-4, -1.53777764E-5),
1602
	C1 = CFrame.new(-0.0704956055, 0.898957014, -1.10761929, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
1603
})
1604
NoSight = New("Part", Uzi, "NoSight", {
1605
	BrickColor = BrickColor.new("Gold"),
1606
	Elasticity = 0,
1607
	FormFactor = Enum.FormFactor.Custom,
1608
	Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
1609
	CFrame = CFrame.new(-63.8355064, 4.32565308, 8.6785574, 1.51598751E-5, -4.07793617E-4, 0.999997377, -4.30490618E-5, 0.999989152, 4.07790008E-4, -0.999986291, -4.34524227E-5, 1.51382555E-5),
1610
	CanCollide = false,
1611
	BottomSurface = Enum.SurfaceType.Smooth,
1612
	TopSurface = Enum.SurfaceType.Smooth,
1613
	Color = Color3.new(0.105882, 0.164706, 0.207843)
1614
})
1615
Mesh = New("SpecialMesh", NoSight, "Mesh", {
1616
	Scale = Vector3.new(0.333333343, 0.142857149, 0.095238097),
1617
	MeshType = Enum.MeshType.Wedge
1618
})
1619
mot = New("Motor", NoSight, "mot", {
1620
	Part0 = NoSight,
1621
	Part1 = Handle,
1622
	C0 = CFrame.new(0, 0, 0, 1.51580489E-5, -4.32481829E-5, -1, -4.07794229E-4, 1, -4.32543566E-5, 1, 4.07794898E-4, 1.51404101E-5),
1623
	C1 = CFrame.new(-0.114276886, 0.928067923, -0.588032722, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
1624
})
1625
NoSight = New("Part", Uzi, "NoSight", {
1626
	BrickColor = BrickColor.new("Gold"),
1627
	Elasticity = 0,
1628
	FormFactor = Enum.FormFactor.Custom,
1629
	Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
1630
	CFrame = CFrame.new(-63.8792877, 4.33177757, 7.20867538, 0.999997318, 4.20433673E-4, 1.73239296E-5, 4.2042954E-4, -0.999989152, -1.25467186E-5, 1.73145636E-5, 1.29512719E-5, -0.999986291),
1631
	CanCollide = false,
1632
	BottomSurface = Enum.SurfaceType.Smooth,
1633
	TopSurface = Enum.SurfaceType.Smooth,
1634
	Color = Color3.new(0.105882, 0.164706, 0.207843)
1635
})
1636
Mesh = New("SpecialMesh", NoSight, "Mesh", {
1637
	Scale = Vector3.new(0.0868398845, 0.0868398845, 0.0868398845),
1638
	MeshId = "http://www.roblox.com/asset/?id=3270017",
1639
	MeshType = Enum.MeshType.FileMesh
1640
})
1641
mot = New("Motor", NoSight, "mot", {
1642
	Part0 = NoSight,
1643
	Part1 = Handle,
1644
	C0 = CFrame.new(0, 0, 0, 0.99999994, 4.20434575E-4, 1.731675E-5, 4.20434313E-4, -1, 1.27527892E-5, 1.73221088E-5, -1.27455087E-5, -1),
1645
	C1 = CFrame.new(-0.0704956055, 0.934191465, 0.881869316, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
1646
})
1647
NoSight = New("Part", Uzi, "NoSight", {
1648
	BrickColor = BrickColor.new("Gold"),
1649
	Elasticity = 0,
1650
	FormFactor = Enum.FormFactor.Plate,
1651
	Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),
1652
	CFrame = CFrame.new(-63.9950485, 4.25275517, 7.24577427, 3.16243502E-4, -0.999997318, -1.53725232E-5, -0.999989152, -3.16239311E-4, -4.30490618E-5, 4.34413814E-5, 1.53898236E-5, -0.999986291),
1653
	CanCollide = false,
1654
	BottomSurface = Enum.SurfaceType.Smooth,
1655
	TopSurface = Enum.SurfaceType.Smooth,
1656
	Color = Color3.new(0.105882, 0.164706, 0.207843)
1657
})
1658
Mesh = New("CylinderMesh", NoSight, "Mesh", {
1659
	Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194)
1660
})
1661
mot = New("Motor", NoSight, "mot", {
1662
	Part0 = NoSight,
1663
	Part1 = Handle,
1664
	C0 = CFrame.new(0, 0, 0, 3.16243852E-4, -1, 4.32433153E-5, -0.99999994, -3.16243211E-4, 1.53881065E-5, -1.53744295E-5, -4.32481829E-5, -1),
1665
	C1 = CFrame.new(0.0452651978, 0.855168581, 0.844769955, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
1666
})
1667
NoSight = New("Part", Uzi, "NoSight", {
1668
	BrickColor = BrickColor.new("Gold"),
1669
	Elasticity = 0,
1670
	FormFactor = Enum.FormFactor.Plate,
1671
	Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),
1672
	CFrame = CFrame.new(-63.9950485, 4.25256538, 9.19813633, 3.16243502E-4, -0.999997318, -1.53725232E-5, -0.999989152, -3.16239311E-4, -4.30490618E-5, 4.34413814E-5, 1.53898236E-5, -0.999986291),
1673
	CanCollide = false,
1674
	BottomSurface = Enum.SurfaceType.Smooth,
1675
	TopSurface = Enum.SurfaceType.Smooth,
1676
	Color = Color3.new(0.105882, 0.164706, 0.207843)
1677
})
1678
Mesh = New("CylinderMesh", NoSight, "Mesh", {
1679
	Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194)
1680
})
1681
mot = New("Motor", NoSight, "mot", {
1682
	Part0 = NoSight,
1683
	Part1 = Handle,
1684
	C0 = CFrame.new(0, 0, 0, 3.16243852E-4, -1, 4.32433153E-5, -0.99999994, -3.16243211E-4, 1.53881065E-5, -1.53744295E-5, -4.32481829E-5, -1),
1685
	C1 = CFrame.new(0.0452651978, 0.854979753, -1.10761929, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
1686
})
1687
Part = New("Part", Uzi, "Part", {
1688
	BrickColor = BrickColor.new("Gold"),
1689
	Elasticity = 0,
1690
	FormFactor = Enum.FormFactor.Symmetric,
1691
	Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
1692
	CFrame = CFrame.new(-63.8792877, 3.84094381, 7.38972139, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490618E-5, 0.999989152, -3.46755522E-4, 0.999986291, -4.34514986E-5, -1.51409104E-5),
1693
	CanCollide = false,
1694
	BottomSurface = Enum.SurfaceType.Smooth,
1695
	TopSurface = Enum.SurfaceType.Smooth,
1696
	Color = Color3.new(0.105882, 0.164706, 0.207843)
1697
})
1698
Mesh = New("BlockMesh", Part, "Mesh", {
1699
	Scale = Vector3.new(0.571428597, 0.095238097, 0.190476194)
1700
})
1701
mot = New("Motor", Part, "mot", {
1702
	Part0 = Part,
1703
	Part1 = Handle,
1704
	C0 = CFrame.new(0, 0, 0, -1.51580507E-5, 4.32481829E-5, 1, -3.46759072E-4, 1, -4.32534325E-5, -1, -3.46759742E-4, -1.51430522E-5),
1705
	C1 = CFrame.new(-0.0704956055, 0.443352461, 0.700820446, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
1706
})
1707
Part = New("Part", Uzi, "Part", {
1708
	BrickColor = BrickColor.new("Gold"),
1709
	Elasticity = 0,
1710
	FormFactor = Enum.FormFactor.Symmetric,
1711
	Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
1712
	CFrame = CFrame.new(-63.8792877, 3.4792161, 6.99127293, -0.999997377, 3.7727732E-4, 4.80012168E-5, -3.77270597E-4, -0.999989152, 5.5595694E-5, 4.8025533E-5, 5.59747241E-5, 0.999986291),
1713
	CanCollide = false,
1714
	BottomSurface = Enum.SurfaceType.Smooth,
1715
	TopSurface = Enum.SurfaceType.Smooth,
1716
	Color = Color3.new(0.105882, 0.164706, 0.207843)
1717
})
1718
Mesh = New("SpecialMesh", Part, "Mesh", {
1719
	Scale = Vector3.new(0.190476194, 0.380952388, 0.0476190485),
1720
	MeshType = Enum.MeshType.Wedge
1721
})
1722
mot = New("Motor", Part, "mot", {
1723
	Part0 = Part,
1724
	Part1 = Handle,
1725
	C0 = CFrame.new(0, 0, 0, -1, -3.77275166E-4, 4.80242488E-5, 3.77277844E-4, -1, 5.57768326E-5, 4.80032068E-5, 5.57949534E-5, 1),
1726
	C1 = CFrame.new(-0.0704956055, 0.0816206932, 1.09927416, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
1727
})
1728
Part = New("Part", Uzi, "Part", {
1729
	BrickColor = BrickColor.new("Gold"),
1730
	Elasticity = 0,
1731
	FormFactor = Enum.FormFactor.Symmetric,
1732
	Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
1733
	CFrame = CFrame.new(-63.8792877, 4.10843039, 9.70547295, 4.20435099E-4, -1.53568108E-5, 0.999997318, -0.999989092, -4.51352062E-5, 4.20430006E-4, 4.55259251E-5, -0.999986291, -1.53795154E-5),
1734
	CanCollide = false,
1735
	BottomSurface = Enum.SurfaceType.Smooth,
1736
	TopSurface = Enum.SurfaceType.Smooth,
1737
	Color = Color3.new(0.105882, 0.164706, 0.207843)
1738
})
1739
Mesh = New("CylinderMesh", Part, "Mesh", {
1740
	Scale = Vector3.new(0.095238097, 0.285714298, 0.095238097)
1741
})
1742
mot = New("Motor", Part, "mot", {
1743
	Part0 = Part,
1744
	Part1 = Handle,
1745
	C0 = CFrame.new(0, 0, 0, 4.20435739E-4, -0.99999994, 4.53278881E-5, -1.53587171E-5, -4.53343491E-5, -1, 0.99999994, 4.20435041E-4, -1.53777764E-5),
1746
	C1 = CFrame.new(-0.0704956055, 0.710843325, -1.61496258, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
1747
})
1748
A1 = New("Part", Uzi, "A1", {
1749
	BrickColor = BrickColor.new("Gold"),
1750
	Elasticity = 0,
1751
	FormFactor = Enum.FormFactor.Custom,
1752
	Size = Vector3.new(0.623076081, 0.729454994, 1.51969779),
1753
	CFrame = CFrame.new(-64.0106277, 4.09897423, 7.99518442, 3.04593304E-5, -6.80373148E-7, 0.999997377, -0.999989152, -1.32646619E-5, 3.04581481E-5, 1.36619119E-5, -0.999986291, -6.84514248E-7),
1754
	CanCollide = false,
1755
	BottomSurface = Enum.SurfaceType.Smooth,
1756
	TopSurface = Enum.SurfaceType.Smooth,
1757
	Color = Color3.new(0.105882, 0.164706, 0.207843)
1758
})
1759
Mesh = New("BlockMesh", A1, "Mesh", {
1760
	Scale = Vector3.new(0.238000005, 1, 0.0480000004)
1761
})
1762
mot = New("Motor", A1, "mot", {
1763
	Part0 = A1,
1764
	Part1 = Handle,
1765
	C0 = CFrame.new(0, 0, 0, 3.04589466E-5, -1, 1.34634383E-5, -6.8224125E-7, -1.34634593E-5, -1, 1, 3.04589375E-5, -6.82651319E-7),
1766
	C1 = CFrame.new(0.0608444214, 0.701386213, 0.0953493118, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
1767
})
1768
Cylinder1 = New("Part", Uzi, "Cylinder", {
1769
	BrickColor = BrickColor.new("Really Gold"),
1770
	Elasticity = 0,
1771
	FormFactor = Enum.FormFactor.Plate,
1772
	Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),
1773
	CFrame = CFrame.new(-63.8792877, 4.10842991, 9.93623352, 3.34118115E-4, 1.53568108E-5, -0.999997318, -0.999989092, 4.51352062E-5, -3.34113749E-4, 4.5527253E-5, 0.999986291, 1.53755864E-5),
1774
	CanCollide = false,
1775
	BottomSurface = Enum.SurfaceType.Smooth,
1776
	TopSurface = Enum.SurfaceType.Smooth,
1777
	Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
1778
})
1779
Mesh = New("CylinderMesh", Cylinder1, "Mesh", {
1780
	Offset = Vector3.new(0, -0.0185714271, 0),
1781
	Scale = Vector3.new(0.0666666627, 0.0476190485, 0.0666666627)
1782
})
1783
mot = New("Motor", Cylinder1, "mot", {
1784
	Part0 = Cylinder1,
1785
	Part1 = Handle,
1786
	C0 = CFrame.new(0, 0, 0, 3.34118522E-4, -0.99999994, 4.53292159E-5, 1.53587171E-5, 4.53343491E-5, 1, -0.99999994, -3.34117853E-4, 1.53738638E-5),
1787
	C1 = CFrame.new(-0.0704956055, 0.710842848, -1.84572601, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
1788
})
1789
Mag1 = New("Part", Uzi, "Mag1", {
1790
	BrickColor = BrickColor.new("Dark stone grey"),
1791
	Elasticity = 0,
1792
	FormFactor = Enum.FormFactor.Custom,
1793
	Size = Vector3.new(0.303939581, 0.723665655, 0.303939581),
1794
	CFrame = CFrame.new(-63.8785477, 2.8062222, 8.01299381, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490618E-5, 0.999989152, -3.46755522E-4, 0.999986291, -4.34514986E-5, -1.51409104E-5),
1795
	CanCollide = false,
1796
	BottomSurface = Enum.SurfaceType.Smooth,
1797
	TopSurface = Enum.SurfaceType.Smooth,
1798
	Color = Color3.new(0.388235, 0.372549, 0.384314)
1799
})
1800
Mesh = New("BlockMesh", Mag1, "Mesh", {
1801
	Scale = Vector3.new(0.809523821, 1, 0.714285731)
1802
})
1803
mot = New("Motor", Mag1, "mot", {
1804
	Part0 = Mag1,
1805
	Part1 = Handle,
1806
	C0 = CFrame.new(0, 0, 0, -1.51580507E-5, 4.32481829E-5, 1, -3.46759072E-4, 1, -4.32534325E-5, -1, -3.46759742E-4, -1.51430522E-5),
1807
	C1 = CFrame.new(-0.0712356567, -0.591379881, 0.077539444, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
1808
})
1809
Part = New("Part", Uzi, "Part", {
1810
	BrickColor = BrickColor.new("Gold"),
1811
	Elasticity = 0,
1812
	FormFactor = Enum.FormFactor.Symmetric,
1813
	Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
1814
	CFrame = CFrame.new(-63.8792839, 3.96399546, 8.94571686, 4.20436263E-4, -1.53869969E-5, 0.999994516, -0.999985397, -4.49496983E-5, 4.20421362E-4, 4.57110073E-5, -0.999980092, -1.53492692E-5),
1815
	CanCollide = false,
1816
	BottomSurface = Enum.SurfaceType.Smooth,
1817
	TopSurface = Enum.SurfaceType.Smooth,
1818
	Color = Color3.new(0.105882, 0.164706, 0.207843)
1819
})
1820
Mesh = New("BlockMesh", Part, "Mesh", {
1821
	Scale = Vector3.new(0.095238097, 0.523809552, 0.238095239)
1822
})
1823
Weld = New("ManualWeld", Part, "Weld", {
1824
	Part0 = Part,
1825
	Part1 = Port,
1826
	C0 = CFrame.new(-0.759848893, 0.759848893, 0.759848893, -1, 0, 0, 0, 0, 1, 0, 1, 0),
1827
	C1 = CFrame.new(-0.862224281, 0.690827668, 0.238218009, -0.965815187, -0.259224743, 4.81826173E-5, -0.259224653, 0.965815544, -3.01207638E-6, -4.59400871E-5, -1.53690817E-5, -0.999996901)
1828
})
1829
mot = New("Motor", Part, "mot", {
1830
	Part0 = Part,
1831
	Part1 = Handle,
1832
	C0 = CFrame.new(0, 0, 0, 4.20408818E-4, -0.99999994, 4.51425221E-5, -1.53889487E-5, -4.51489977E-5, -1, 1, 4.20408091E-4, -1.5407928E-5),
1833
	C1 = CFrame.new(-0.0704994202, 0.566405296, -0.855195999, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
1834
})
1835
Part = New("Part", Uzi, "Part", {
1836
	BrickColor = BrickColor.new("Gold"),
1837
	Elasticity = 0,
1838
	FormFactor = Enum.FormFactor.Symmetric,
1839
	Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
1840
	CFrame = CFrame.new(-63.8792877, 4.07189083, 8.22297764, 3.34118115E-4, 1.53568108E-5, -0.999997318, -0.999989092, 4.51352062E-5, -3.34113749E-4, 4.5527253E-5, 0.999986291, 1.53755864E-5),
1841
	CanCollide = false,
1842
	BottomSurface = Enum.SurfaceType.Smooth,
1843
	TopSurface = Enum.SurfaceType.Smooth,
1844
	Color = Color3.new(0.105882, 0.164706, 0.207843)
1845
})
1846
Mesh = New("BlockMesh", Part, "Mesh", {
1847
	Scale = Vector3.new(0.238095239, 1.47619045, 0.190476194)
1848
})
1849
mot = New("Motor", Part, "mot", {
1850
	Part0 = Part,
1851
	Part1 = Handle,
1852
	C0 = CFrame.new(0, 0, 0, 3.34118522E-4, -0.99999994, 4.53292159E-5, 1.53587171E-5, 4.53343491E-5, 1, -0.99999994, -3.34117853E-4, 1.53738638E-5),
1853
	C1 = CFrame.new(-0.0704956055, 0.674302816, -0.132447243, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
1854
})
1855
Part = New("Part", Uzi, "Part", {
1856
	BrickColor = BrickColor.new("Gold"),
1857
	Elasticity = 0,
1858
	FormFactor = Enum.FormFactor.Symmetric,
1859
	Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
1860
	CFrame = CFrame.new(-63.8792877, 3.89102483, 8.94586086, 4.20435099E-4, -1.53568108E-5, 0.999997318, -0.999989092, -4.51352062E-5, 4.20430006E-4, 4.55259251E-5, -0.999986291, -1.53795154E-5),
1861
	CanCollide = false,
1862
	BottomSurface = Enum.SurfaceType.Smooth,
1863
	TopSurface = Enum.SurfaceType.Smooth,
1864
	Color = Color3.new(0.105882, 0.164706, 0.207843)
1865
})
1866
Mesh = New("CylinderMesh", Part, "Mesh", {
1867
	Scale = Vector3.new(0.285714298, 0.523809552, 0.238095239)
1868
})
1869
Weld = New("ManualWeld", Part, "Weld", {
1870
	Part0 = Part,
1871
	Part1 = Port,
1872
	C0 = CFrame.new(-0.759848893, 0.759848893, 0.759848893, -1, 0, 0, 0, 0, 1, 0, 1, 0),
1873
	C1 = CFrame.new(-0.791742086, 0.70971489, 0.238357142, -0.965815187, -0.259224743, 4.81826173E-5, -0.259224653, 0.965815544, -3.01207638E-6, -4.59400871E-5, -1.53690817E-5, -0.999996901)
1874
})
1875
mot = New("Motor", Part, "mot", {
1876
	Part0 = Part,
1877
	Part1 = Handle,
1878
	C0 = CFrame.new(0, 0, 0, 4.20435739E-4, -0.99999994, 4.53278881E-5, -1.53587171E-5, -4.53343491E-5, -1, 0.99999994, 4.20435041E-4, -1.53777764E-5),
1879
	C1 = CFrame.new(-0.0704956055, 0.493435144, -0.855340004, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
1880
})
1881
Part = New("Part", Uzi, "Part", {
1882
	BrickColor = BrickColor.new("Gold"),
1883
	Elasticity = 0,
1884
	FormFactor = Enum.FormFactor.Symmetric,
1885
	Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
1886
	CFrame = CFrame.new(-63.8792877, 3.38516831, 8.00556946, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490618E-5, 0.999989152, -3.46755522E-4, 0.999986291, -4.34514986E-5, -1.51409104E-5),
1887
	CanCollide = false,
1888
	BottomSurface = Enum.SurfaceType.Smooth,
1889
	TopSurface = Enum.SurfaceType.Smooth,
1890
	Color = Color3.new(0.105882, 0.164706, 0.207843)
1891
})
1892
Mesh = New("BlockMesh", Part, "Mesh", {
1893
	Scale = Vector3.new(0.238095239, 0.476190478, 0.190476194)
1894
})
1895
mot = New("Motor", Part, "mot", {
1896
	Part0 = Part,
1897
	Part1 = Handle,
1898
	C0 = CFrame.new(0, 0, 0, -1.51580507E-5, 4.32481829E-5, 1, -3.46759072E-4, 1, -4.32534325E-5, -1, -3.46759742E-4, -1.51430522E-5),
1899
	C1 = CFrame.new(-0.0704956055, -0.0124275684, 0.0849637985, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
1900
})
1901
Part = New("Part", Uzi, "Part", {
1902
	BrickColor = BrickColor.new("Gold"),
1903
	Elasticity = 0,
1904
	FormFactor = Enum.FormFactor.Symmetric,
1905
	Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
1906
	CFrame = CFrame.new(-63.8792877, 3.13159156, 7.78817034, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490618E-5, 0.999989152, -3.46755522E-4, 0.999986291, -4.34514986E-5, -1.51409104E-5),
1907
	CanCollide = false,
1908
	BottomSurface = Enum.SurfaceType.Smooth,
1909
	TopSurface = Enum.SurfaceType.Smooth,
1910
	Color = Color3.new(0.105882, 0.164706, 0.207843)
1911
})
1912
Mesh = New("BlockMesh", Part, "Mesh", {
1913
	Scale = Vector3.new(0.0476190485, 0.142857149, 0.190476194)
1914
})
1915
mot = New("Motor", Part, "mot", {
1916
	Part0 = Part,
1917
	Part1 = Handle,
1918
	C0 = CFrame.new(0, 0, 0, -1.51580507E-5, 4.32481829E-5, 1, -3.46759072E-4, 1, -4.32534325E-5, -1, -3.46759742E-4, -1.51430522E-5),
1919
	C1 = CFrame.new(-0.0704956055, -0.266007185, 0.302366257, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
1920
})
1921
Part = New("Part", Uzi, "Part", {
1922
	BrickColor = BrickColor.new("Gold"),
1923
	Elasticity = 0,
1924
	FormFactor = Enum.FormFactor.Symmetric,
1925
	Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
1926
	CFrame = CFrame.new(-63.8792877, 3.81812668, 8.18587875, 3.34118115E-4, 1.53568108E-5, -0.999997318, -0.999989092, 4.51352062E-5, -3.34113749E-4, 4.5527253E-5, 0.999986291, 1.53755864E-5),
1927
	CanCollide = false,
1928
	BottomSurface = Enum.SurfaceType.Smooth,
1929
	TopSurface = Enum.SurfaceType.Smooth,
1930
	Color = Color3.new(0.105882, 0.164706, 0.207843)
1931
})
1932
Mesh = New("BlockMesh", Part, "Mesh", {
1933
	Scale = Vector3.new(0.095238097, 0.476190478, 0.190476194)
1934
})
1935
mot = New("Motor", Part, "mot", {
1936
	Part0 = Part,
1937
	Part1 = Handle,
1938
	C0 = CFrame.new(0, 0, 0, 3.34118522E-4, -0.99999994, 4.53292159E-5, 1.53587171E-5, 4.53343491E-5, 1, -0.99999994, -3.34117853E-4, 1.53738638E-5),
1939
	C1 = CFrame.new(-0.0704956055, 0.420535564, -0.0953474045, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
1940
})
1941
Part = New("Part", Uzi, "Part", {
1942
	BrickColor = BrickColor.new("Gold"),
1943
	Elasticity = 0,
1944
	FormFactor = Enum.FormFactor.Symmetric,
1945
	Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
1946
	CFrame = CFrame.new(-63.8792877, 3.57790494, 7.28955317, 2.37775297E-4, -2.39374975E-4, -0.999997377, -0.707075596, 0.707122624, -3.37392528E-4, 0.707120895, 0.707073271, -1.11602742E-6),
1947
	CanCollide = false,
1948
	BottomSurface = Enum.SurfaceType.Smooth,
1949
	TopSurface = Enum.SurfaceType.Smooth,
1950
	Color = Color3.new(0.105882, 0.164706, 0.207843)
1951
})
1952
Mesh = New("BlockMesh", Part, "Mesh", {
1953
	Scale = Vector3.new(0.0476190485, 0.428571433, 0.095238097)
1954
})
1955
mot = New("Motor", Part, "mot", {
1956
	Part0 = Part,
1957
	Part1 = Handle,
1958
	C0 = CFrame.new(0, 0, 0, 2.37776927E-4, -0.707083166, 0.707130432, -2.39373941E-4, 0.707130432, 0.707083166, -1, -3.37396661E-4, -1.1179759E-6),
1959
	C1 = CFrame.new(-0.0704956055, 0.180310726, 0.800990105, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
1960
})
1961
Part = New("Part", Uzi, "Part", {
1962
	BrickColor = BrickColor.new("Gold"),
1963
	Elasticity = 0,
1964
	FormFactor = Enum.FormFactor.Symmetric,
1965
	Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
1966
	CFrame = CFrame.new(-63.8792877, 3.91217613, 7.10108757, 1.53677556E-5, 0.999997318, -3.44614644E-4, 5.5595694E-5, 3.44610075E-4, 0.999989152, 0.999986291, -1.53906112E-5, -5.59875407E-5),
1967
	CanCollide = false,
1968
	BottomSurface = Enum.SurfaceType.Smooth,
1969
	TopSurface = Enum.SurfaceType.Smooth,
1970
	Color = Color3.new(0.105882, 0.164706, 0.207843)
1971
})
1972
Mesh = New("CylinderMesh", Part, "Mesh", {
1973
	Scale = Vector3.new(0.190476194, 0.190476194, 0.190476194)
1974
})
1975
mot = New("Motor", Part, "mot", {
1976
	Part0 = Part,
1977
	Part1 = Handle,
1978
	C0 = CFrame.new(0, 0, 0, 1.53696619E-5, 5.57949534E-5, 1, 0.99999994, 3.44614265E-4, -1.53888886E-5, -3.4461508E-4, 1, -5.57896492E-5),
1979
	C1 = CFrame.new(-0.0704956055, 0.514585495, 0.989458561, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
1980
})
1981
Part = New("Part", Uzi, "Part", {
1982
	BrickColor = BrickColor.new("Gold"),
1983
	Elasticity = 0,
1984
	FormFactor = Enum.FormFactor.Symmetric,
1985
	Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
1986
	CFrame = CFrame.new(-63.8792877, 3.49313116, 7.78817034, -0.999997318, -4.58751165E-5, 4.07794083E-4, -4.07787855E-4, -4.30788677E-5, -0.999989152, 4.58960603E-5, -0.999986291, 4.3457334E-5),
1987
	CanCollide = false,
1988
	BottomSurface = Enum.SurfaceType.Smooth,
1989
	TopSurface = Enum.SurfaceType.Smooth,
1990
	Color = Color3.new(0.105882, 0.164706, 0.207843)
1991
})
1992
Mesh = New("SpecialMesh", Part, "Mesh", {
1993
	Scale = Vector3.new(0.190476194, 0.0476190485, 0.333333343),
1994
	MeshType = Enum.MeshType.Wedge
1995
})
1996
mot = New("Motor", Part, "mot", {
1997
	Part0 = Part,
1998
	Part1 = Handle,
1999
	C0 = CFrame.new(0, 0, 0, -0.99999994, -4.07792744E-4, 4.58947434E-5, -4.58770992E-5, -4.32779889E-5, -1, 4.07794694E-4, -1, 4.32592715E-5),
2000
	C1 = CFrame.new(-0.0704956055, 0.0955364704, 0.302366257, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
2001
})
2002
Part = New("Part", Uzi, "Part", {
2003
	BrickColor = BrickColor.new("Gold"),
2004
	Elasticity = 0,
2005
	FormFactor = Enum.FormFactor.Symmetric,
2006
	Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
2007
	CFrame = CFrame.new(-63.8792877, 3.81812716, 7.78816938, 0.999997377, 7.62029813E-5, -4.07784712E-4, 4.0778832E-4, -1.04068669E-4, 0.999989092, 7.61557822E-5, -0.999986291, -1.0449675E-4),
2008
	CanCollide = false,
2009
	BottomSurface = Enum.SurfaceType.Smooth,
2010
	TopSurface = Enum.SurfaceType.Smooth,
2011
	Color = Color3.new(0.105882, 0.164706, 0.207843)
2012
})
2013
Mesh = New("SpecialMesh", Part, "Mesh", {
2014
	Scale = Vector3.new(0.190476194, 0.0476190485, 0.095238097),
2015
	MeshType = Enum.MeshType.Wedge
2016
})
2017
mot = New("Motor", Part, "mot", {
2018
	Part0 = Part,
2019
	Part1 = Handle,
2020
	C0 = CFrame.new(0, 0, 0, 1, 4.07793239E-4, 7.61587726E-5, 7.62013078E-5, -1.04268453E-4, -1, -4.07785323E-4, 0.99999994, -1.04299521E-4),
2021
	C1 = CFrame.new(-0.0704956055, 0.420535803, 0.30236721, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
2022
})
2023
Part = New("Part", Uzi, "Part", {
2024
	BrickColor = BrickColor.new("Gold"),
2025
	Elasticity = 0,
2026
	FormFactor = Enum.FormFactor.Symmetric,
2027
	Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
2028
	CFrame = CFrame.new(-63.8792877, 4.10843039, 9.41535473, 4.20435099E-4, -1.53568108E-5, 0.999997318, -0.999989092, -4.51352062E-5, 4.20430006E-4, 4.55259251E-5, -0.999986291, -1.53795154E-5),
2029
	CanCollide = false,
2030
	BottomSurface = Enum.SurfaceType.Smooth,
2031
	TopSurface = Enum.SurfaceType.Smooth,
2032
	Color = Color3.new(0.105882, 0.164706, 0.207843)
2033
})
2034
Mesh = New("CylinderMesh", Part, "Mesh", {
2035
	Scale = Vector3.new(0.142857149, 0.095238097, 0.142857149)
2036
})
2037
mot = New("Motor", Part, "mot", {
2038
	Part0 = Part,
2039
	Part1 = Handle,
2040
	C0 = CFrame.new(0, 0, 0, 4.20435739E-4, -0.99999994, 4.53278881E-5, -1.53587171E-5, -4.53343491E-5, -1, 0.99999994, 4.20435041E-4, -1.53777764E-5),
2041
	C1 = CFrame.new(-0.0704956055, 0.710843325, -1.32484055, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
2042
})
2043
Block = New("Part", Uzi, "Block", {
2044
	BrickColor = BrickColor.new("Gold"),
2045
	Elasticity = 0,
2046
	FormFactor = Enum.FormFactor.Plate,
2047
	Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),
2048
	CFrame = CFrame.new(-63.8792877, 3.673805, 8.25339222, -3.23260669E-4, 2.16992383E-4, -0.999997377, 0.866039515, -0.499953777, -3.88442742E-4, -0.499952704, -0.866036952, -2.63046823E-5),
2049
	CanCollide = false,
2050
	BottomSurface = Enum.SurfaceType.Smooth,
2051
	TopSurface = Enum.SurfaceType.Smooth,
2052
	Color = Color3.new(0.105882, 0.164706, 0.207843)
2053
})
2054
Mesh = New("BlockMesh", Block, "Mesh", {
2055
	Scale = Vector3.new(0.142857149, 0.0952381045, 0.0476190485)
2056
})
2057
mot = New("Motor", Block, "mot", {
2058
	Part0 = Block,
2059
	Part1 = Handle,
2060
	C0 = CFrame.new(0, 0, 0, -3.23262066E-4, 0.866048813, -0.499959379, 2.16991102E-4, -0.49995935, -0.866048872, -1, -3.88447457E-4, -2.63069869E-5),
2061
	C1 = CFrame.new(-0.0704956055, 0.276212454, -0.162861824, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
2062
})
2063
NoSight = New("Part", Uzi, "NoSight", {
2064
	BrickColor = BrickColor.new("Gold"),
2065
	Elasticity = 0,
2066
	FormFactor = Enum.FormFactor.Plate,
2067
	Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),
2068
	CFrame = CFrame.new(-63.7637138, 4.25275517, 7.24577427, 3.16243502E-4, -0.999997318, -1.53725232E-5, -0.999989152, -3.16239311E-4, -4.30490618E-5, 4.34413814E-5, 1.53898236E-5, -0.999986291),
2069
	CanCollide = false,
2070
	BottomSurface = Enum.SurfaceType.Smooth,
2071
	TopSurface = Enum.SurfaceType.Smooth,
2072
	Color = Color3.new(0.105882, 0.164706, 0.207843)
2073
})
2074
Mesh = New("CylinderMesh", NoSight, "Mesh", {
2075
	Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194)
2076
})
2077
mot = New("Motor", NoSight, "mot", {
2078
	Part0 = NoSight,
2079
	Part1 = Handle,
2080
	C0 = CFrame.new(0, 0, 0, 3.16243852E-4, -1, 4.32433153E-5, -0.99999994, -3.16243211E-4, 1.53881065E-5, -1.53744295E-5, -4.32481829E-5, -1),
2081
	C1 = CFrame.new(-0.186069489, 0.855168581, 0.844769955, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
2082
})
2083
NoSight = New("Part", Uzi, "NoSight", {
2084
	BrickColor = BrickColor.new("Gold"),
2085
	Elasticity = 0,
2086
	FormFactor = Enum.FormFactor.Custom,
2087
	Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
2088
	CFrame = CFrame.new(-63.857769, 4.31044102, 8.6785574, 1.51598751E-5, -4.07793617E-4, 0.999997377, -4.30490618E-5, 0.999989152, 4.07790008E-4, -0.999986291, -4.34524227E-5, 1.51382555E-5),
2089
	CanCollide = false,
2090
	BottomSurface = Enum.SurfaceType.Smooth,
2091
	TopSurface = Enum.SurfaceType.Smooth,
2092
	Color = Color3.new(0.105882, 0.164706, 0.207843)
2093
})
2094
Mesh = New("SpecialMesh", NoSight, "Mesh", {
2095
	Scale = Vector3.new(0.333333224, 0.0476190485, 0.142857105),
2096
	MeshType = Enum.MeshType.Wedge
2097
})
2098
mot = New("Motor", NoSight, "mot", {
2099
	Part0 = NoSight,
2100
	Part1 = Handle,
2101
	C0 = CFrame.new(0, 0, 0, 1.51580489E-5, -4.32481829E-5, -1, -4.07794229E-4, 1, -4.32543566E-5, 1, 4.07794898E-4, 1.51404101E-5),
2102
	C1 = CFrame.new(-0.0920143127, 0.912855864, -0.588032722, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
2103
})
2104
Ring = New("Part", Uzi, "Ring", {
2105
	BrickColor = BrickColor.new("Gold"),
2106
	Elasticity = 0,
2107
	FormFactor = Enum.FormFactor.Symmetric,
2108
	Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
2109
	CFrame = CFrame.new(-63.8792877, 3.71034932, 8.25933456, 4.58751165E-5, 4.0779452E-4, 0.999997318, 4.30788677E-5, -0.999989152, 4.07788291E-4, 0.999986291, 4.34573376E-5, -4.58960603E-5),
2110
	CanCollide = false,
2111
	BottomSurface = Enum.SurfaceType.Smooth,
2112
	TopSurface = Enum.SurfaceType.Smooth,
2113
	Color = Color3.new(0.105882, 0.164706, 0.207843)
2114
})
2115
Mesh = New("SpecialMesh", Ring, "Mesh", {
2116
	Scale = Vector3.new(0.434199393, 0.361832827, 0.361832827),
2117
	MeshId = "http://www.roblox.com/asset/?id=3270017",
2118
	MeshType = Enum.MeshType.FileMesh
2119
})
2120
mot = New("Motor", Ring, "mot", {
2121
	Part0 = Ring,
2122
	Part1 = Handle,
2123
	C0 = CFrame.new(0, 0, 0, 4.58770992E-5, 4.32779889E-5, 1, 4.07795131E-4, -1, 4.32592751E-5, 0.99999994, 4.07793181E-4, -4.58947434E-5),
2124
	C1 = CFrame.new(-0.0704956055, 0.312757254, -0.168804169, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
2125
})
2126
NoSight = New("Part", Uzi, "NoSight", {
2127
	BrickColor = BrickColor.new("Gold"),
2128
	Elasticity = 0,
2129
	FormFactor = Enum.FormFactor.Custom,
2130
	Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
2131
	CFrame = CFrame.new(-63.9008064, 4.31044102, 8.6785574, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490618E-5, 0.999989152, -3.46755522E-4, 0.999986291, -4.34514986E-5, -1.51409104E-5),
2132
	CanCollide = false,
2133
	BottomSurface = Enum.SurfaceType.Smooth,
2134
	TopSurface = Enum.SurfaceType.Smooth,
2135
	Color = Color3.new(0.105882, 0.164706, 0.207843)
2136
})
2137
Mesh = New("SpecialMesh", NoSight, "Mesh", {
2138
	Scale = Vector3.new(0.333333224, 0.0476190485, 0.142857105),
2139
	MeshType = Enum.MeshType.Wedge
2140
})
2141
mot = New("Motor", NoSight, "mot", {
2142
	Part0 = NoSight,
2143
	Part1 = Handle,
2144
	C0 = CFrame.new(0, 0, 0, -1.51580507E-5, 4.32481829E-5, 1, -3.46759072E-4, 1, -4.32534325E-5, -1, -3.46759742E-4, -1.51430522E-5),
2145
	C1 = CFrame.new(-0.0489768982, 0.912855864, -0.588032722, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
2146
})
2147
NoSight = New("Part", Uzi, "NoSight", {
2148
	BrickColor = BrickColor.new("Gold"),
2149
	Elasticity = 0,
2150
	FormFactor = Enum.FormFactor.Plate,
2151
	Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),
2152
	CFrame = CFrame.new(-63.7637138, 4.25256538, 9.19813633, 3.16242484E-4, -0.999998629, -1.53781439E-5, -0.999994516, -3.16240039E-4, -4.36452538E-5, 4.38389834E-5, 1.53937908E-5, -0.999993145),
2153
	CanCollide = false,
2154
	BottomSurface = Enum.SurfaceType.Smooth,
2155
	TopSurface = Enum.SurfaceType.Smooth,
2156
	Color = Color3.new(0.105882, 0.164706, 0.207843)
2157
})
2158
Mesh = New("CylinderMesh", NoSight, "Mesh", {
2159
	Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194)
2160
})
2161
mot = New("Motor", NoSight, "mot", {
2162
	Part0 = NoSight,
2163
	Part1 = Handle,
2164
	C0 = CFrame.new(0, 0, 0, 3.16242484E-4, -0.999994516, 4.38389834E-5, -0.999998629, -3.16240039E-4, 1.53937908E-5, -1.53781439E-5, -4.36452538E-5, -0.999993145),
2165
	C1 = CFrame.new(-0.186069489, 0.854979753, -1.10761929, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
2166
})
2167
NoSight = New("Part", Uzi, "NoSight", {
2168
	BrickColor = BrickColor.new("Gold"),
2169
	Elasticity = 0,
2170
	FormFactor = Enum.FormFactor.Custom,
2171
	Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
2172
	CFrame = CFrame.new(-63.8792877, 4.27389956, 7.20867825, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490654E-5, 0.999989152, -3.46755493E-4, 0.999986291, -4.34515023E-5, -1.51409085E-5),
2173
	CanCollide = false,
2174
	BottomSurface = Enum.SurfaceType.Smooth,
2175
	TopSurface = Enum.SurfaceType.Smooth,
2176
	Color = Color3.new(0.105882, 0.164706, 0.207843)
2177
})
2178
Mesh = New("BlockMesh", NoSight, "Mesh", {
2179
	Scale = Vector3.new(0.0476190522, 0.190476194, 0.19047603)
2180
})
2181
mot = New("Motor", NoSight, "mot", {
2182
	Part0 = NoSight,
2183
	Part1 = Handle,
2184
	C0 = CFrame.new(0, 0, 0, -1.5159917E-5, 4.30495311E-5, 1, -3.46759538E-4, 1, -4.30547843E-5, -1, -3.46760178E-4, -1.51449858E-5),
2185
	C1 = CFrame.new(-0.0704956055, 0.876312971, 0.881866455, -1, -1.38907941E-9, -5.60068347E-9, -1.38908274E-9, 1, 5.95965616E-7, 5.60068303E-9, 5.95965616E-7, -1)
2186
})
2187
A2 = New("Part", Uzi, "A2", {
2188
	BrickColor = BrickColor.new("Dark stone grey"),
2189
	Elasticity = 0,
2190
	FormFactor = Enum.FormFactor.Custom,
2191
	Size = Vector3.new(0.303939581, 0.303939581, 1.8236376),
2192
	CFrame = CFrame.new(-64.1623764, 4.10658884, 8.22297573, 3.04593304E-5, -6.80373148E-7, 0.999997377, -0.999989152, -1.32646619E-5, 3.04581481E-5, 1.36619119E-5, -0.999986291, -6.84514305E-7),
2193
	CanCollide = false,
2194
	BottomSurface = Enum.SurfaceType.Smooth,
2195
	TopSurface = Enum.SurfaceType.Smooth,
2196
	Color = Color3.new(0.388235, 0.372549, 0.384314)
2197
})
2198
Mesh = New("BlockMesh", A2, "Mesh", {
2199
	Offset = Vector3.new(0, 0, 0.0599999987),
2200
	Scale = Vector3.new(0.200000003, 0.200000003, 0.0480000004)
2201
})
2202
mot = New("Motor", A2, "mot", {
2203
	Part0 = A2,
2204
	Part1 = Handle,
2205
	C0 = CFrame.new(0, 0, 0, 3.04594105E-5, -1, 1.32647847E-5, -6.80374967E-7, -1.32648056E-5, -1, 1, 3.04594014E-5, -6.8077901E-7),
2206
	C1 = CFrame.new(0.212593079, 0.709000826, -0.132445335, -1, -1.38907941E-9, -5.60068347E-9, -1.38908274E-9, 1, 5.95965616E-7, 5.60068303E-9, 5.95965616E-7, -1)
2207
})
2208
for _, v in pairs(Uzi:GetChildren()) do
2209
	if v:IsA("BasePart") then
2210
		v.CanCollide = false
2211
	end
2212
end
2213
local NewInstance = function(instance, parent, properties)
2214
	local inst = Instance.new(instance, parent)
2215
	if properties then
2216
		for i, v in next, properties, nil do
2217
			pcall(function()
2218
				inst[i] = v
2219
			end)
2220
		end
2221
	end
2222
	return inst
2223
end
2224
local HW = NewInstance("Weld", char, {
2225
	Part0 = ra,
2226
	Part1 = Handle,
2227
	C0 = CFrame.new(0, -1.1, -0.2) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
2228
})
2229
-------------------------------------------------------
2230
--End Important Functions--
2231
-------------------------------------------------------
2232
2233
2234
-------------------------------------------------------
2235
--Start Customization--
2236
-------------------------------------------------------
2237
local Player_Size = 1
2238
if Player_Size ~= 1 then
2239
root.Size = root.Size * Player_Size
2240
tors.Size = tors.Size * Player_Size
2241
hed.Size = hed.Size * Player_Size
2242
ra.Size = ra.Size * Player_Size
2243
la.Size = la.Size * Player_Size
2244
rl.Size = rl.Size * Player_Size
2245
ll.Size = ll.Size * Player_Size
2246
----------------------------------------------------------------------------------
2247
rootj.Parent = root
2248
neck.Parent = tors
2249
RW.Parent = tors
2250
LW.Parent = tors
2251
RH.Parent = tors
2252
LH.Parent = tors
2253
----------------------------------------------------------------------------------
2254
rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
2255
rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
2256
neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
2257
neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
2258
RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
2259
LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
2260
----------------------------------------------------------------------------------
2261
RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
2262
LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
2263
RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
2264
LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
2265
--hat.Parent = Character
2266
end
2267
----------------------------------------------------------------------------------
2268
local SONG = 849739067
2269
local SONG2 = 0
2270
local Music = Instance.new("Sound",tors)
2271
----------------------------------------------------------------------------------
2272
local equipped = false
2273
local idle = 0
2274
local change = 1
2275
local val = 0
2276
local toim = 0
2277
local idleanim = 0.4
2278
local sine = 0
2279
local Sit = 1
2280
local WasAir = false
2281
local InAir = false
2282
local LandTick = 0
2283
local movelegs = false
2284
local Speed = 35
2285
local Firing = false
2286
----------------------------------------------------------------------------------
2287
hum.JumpPower = 55
2288
hum.Animator.Parent = nil
2289
-------------------------------------------------------
2290
--End Customization--
2291
-------------------------------------------------------
2292
2293
2294
-------------------------------------------------------
2295
--Start Attacks N Stuff--
2296
-------------------------------------------------------
2297
function AttackTemplate()
2298
	attack = true
2299
	for i = 0, 2, 0.1 do
2300
		swait()
2301
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
2302
		neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
2303
		rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
2304
		ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
2305
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 + 5 * Sin(sine / 20)), Rad(10 + 5 * Sin(sine / 20))), 0.1)
2306
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1)
2307
	end
2308
	attack = false
2309
end
2310
local Camera = workspace.CurrentCamera
2311
function ShootEmUp()
2312
	attack = true
2313
	Speed = 5
2314
	movelegs = true
2315
	repeat
2316
		swait()
2317
		for i = 0, 0.3, 0.2 do
2318
			swait()
2319
			rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(60)), 0.3)
2320
			neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 5 * Sin(sine / 20)), Rad(0), Rad(-60)), 0.3)
2321
			rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.3)
2322
			ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.3)
2323
			RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(0), Rad(45)), 0.3)
2324
			LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.3)
2325
		end
2326
		local part, pos = rayCast(Cylinder1.Position,((mouse.Hit.p+Vector3.new(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)) - Cylinder1.Position),200,char)
2327
		Effects.Block(Cylinder1.CFrame,Vector3.new(.4,.4,.4),Vector3.new(),Vector3.new(.6,.6,.6),"Neon","Bright yellow",true,false,.1)
2328
		Effects.Block(CFrame.new(pos),Vector3.new(.4,.4,.4),Vector3.new(),Vector3.new(.1,.1,.1),"Neon","Bright yellow",true,false,.1)
2329
		Effects.Block(CFrame.new((Cylinder1.Position + pos)/2,pos),Vector3.new(.2,.2,(Cylinder1.Position - pos).magnitude),Vector3.new(0,0,1),Vector3.new(.1,.1,0),"Neon","Bright yellow",false,false,.1)
2330
		Cso("249050335", Cylinder1, 2, Mrandom(90,110)/100)
2331
		local WWWWWWWWWWOAH = Instance.new("Part",Camera)
2332
		WWWWWWWWWWOAH.Anchored = true
2333
		WWWWWWWWWWOAH.Transparency = 1
2334
		WWWWWWWWWWOAH.CanCollide = false
2335
		WWWWWWWWWWOAH.Size = Vector3.new()
2336
		WWWWWWWWWWOAH.CFrame = CFrame.new(pos)
2337
		MagniDamage(WWWWWWWWWWOAH, 3, 18, 2, 10, "Normal")
2338
		for i = 0, 1 do
2339
			swait()
2340
			rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(60)), 0.3)
2341
			neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 5 * Sin(sine / 20)), Rad(0), Rad(-60)), 0.3)
2342
			rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.3)
2343
			ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.3)
2344
			RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(110), Rad(0), Rad(45)), 0.3)
2345
			LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.3)
2346
		end
2347
	until Firing == false
2348
	Speed = 35
2349
	attack = false
2350
	movelegs = false
2351
end
2352
Sitt = false
2353
function SittyBoi()
2354
	attack = true
2355
	Sitt = true
2356
	Speed = 0
2357
	repeat
2358
		swait()
2359
		for i = 0, 1, 0.1 do
2360
			swait()
2361
			rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -1.6 + 0.1 * Player_Size * Cos(sine / 20)) * angles(Rad(-15), Rad(0), Rad(0)), 0.1)
2362
			neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0.05 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
2363
			rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.6* Player_Size, -0.2 - 0.1 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(20), Rad(-10), Rad(0)), 0.1)
2364
			ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -1.1 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(75), Rad(5), Rad(-10)), 0.1)
2365
			RW.C0 = clerp(RW.C0, CF(1.2* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.2* Player_Size) * angles(Rad(80), Rad(40), Rad(-30)), 0.1)
2366
			LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.2 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-15), Rad(20), Rad(-15)), 0.1)
2367
		end
2368
	until Sitt == false
2369
	attack = false
2370
	Speed = 35
2371
end
2372
function Maniac()
2373
	attack = true
2374
	movelegs = true
2375
	Speed = 4
2376-
	local Laugh = Cso("165487479", hed, 3, 0.9)
2376+
	local Laugh = Cso("2583816610", hed, 3, 0.9)
2377
	swait(2)
2378
	repeat
2379
		swait()
2380
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 2)) * angles(Rad(0), Rad(0), Rad(-15)), 0.1)
2381
		tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 2.5 * Sin(sine / 2)), Rad(0), Rad(15)), 0.1)
2382
		rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 2)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
2383
		ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 2)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
2384
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.3 + 0.1 * Sin(sine / 2)* Player_Size, 0* Player_Size) * angles(Rad(210), Rad(0), Rad(-10)), 0.1)
2385
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Cos(sine / 2)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(20), Rad(-5 + 4.5 * Sin(sine / 2))), 0.1)
2386
	until Laugh.Playing == false
2387
	attack = false
2388
	movelegs = false
2389
	Speed = 35
2390
end
2391
local VALUE1 = false
2392
-------------------------------------------------------
2393
--End Attacks N Stuff--
2394
-------------------------------------------------------
2395
mouse.Button1Down:connect(function()
2396
	Firing = true
2397
	if attack == false then
2398
		ShootEmUp()
2399
	end
2400
end)
2401
mouse.Button1Up:connect(function()
2402
	Firing = false
2403
end)
2404
mouse.KeyDown:connect(function(key)
2405
	if (VALUE1 == false and attack == false) or Sitt == true then
2406
		if key == "q" then
2407
			if Sitt == false then
2408
				SittyBoi()
2409
			elseif Sitt == true then
2410
				Sitt = false
2411
			end
2412
		end
2413
	end
2414
	if attack == false then
2415
		if key == "t" then
2416
			Maniac()
2417
		end
2418
	end
2419
end)
2420
 
2421
2422
2423
2424
2425
2426
2427
-------------------------------------------------------
2428
--Start Animations--
2429
-------------------------------------------------------
2430
print("By Creterisk")
2431
while true do
2432
	swait()
2433
	sine = sine + change
2434
	local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
2435
	local velderp = root.Velocity.y
2436
	hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
2437
	if equipped == true or equipped == false then
2438
		if attack == false then
2439
			idle = idle + 1
2440
		else
2441
			idle = 0
2442
		end
2443
		local Landed = false
2444
		if(hitfloor)then
2445
			WasAir = false
2446
		else
2447
			WasAir = true
2448
		end
2449
		if(WasAir == false)then
2450
			if(InAir == true)then
2451
				LandTick = time()
2452
				Landed = true
2453
			end
2454
		end
2455
		if(time()-LandTick < .3)then
2456
			Landed = true
2457
		end
2458
		if(hitfloor)then
2459
			InAir = false
2460
		else
2461
			InAir = true
2462
		end
2463
		local Walking = (math.abs(root.Velocity.x) > 1 or math.abs(root.Velocity.z) > 1)
2464
		local State = (hum.PlatformStand and 'Paralyzed' or hum.Sit and 'Sit' or Landed and 'Land' or not hitfloor and root.Velocity.y < -1 and "Fall" or not hitfloor and root.Velocity.y > 1 and "Jump" or hitfloor and Walking and "Walk" or hitfloor and "Idle")
2465
		local WALKSPEEDVALUE = 6 / (hum.WalkSpeed / 16)
2466
		if hum.Sit == false then
2467
		if(State == 'Jump')then
2468
			hum.JumpPower = 55
2469
			if attack == false then
2470
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.1)
2471
				neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
2472
				rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -.2 - 0.1 * Cos(sine / 20), -.3* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.1)
2473
				ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.1)
2474
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
2475
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
2476
			end
2477
		elseif(State == 'Fall')then
2478
			if attack == false then
2479
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.1)
2480
				neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
2481
				rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(-3.5), Rad(0), Rad(0)), 0.1)
2482
				ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(-3.5), Rad(0), Rad(0)), 0.1)
2483
				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(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
2484
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
2485
			end
2486
		elseif(State == 'Land')then
2487
			hum.JumpPower = 0
2488
			if attack == false then
2489
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
2490
				neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(35 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
2491
				rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, 0.1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(-3.5), Rad(0), Rad(10)), 0.15)
2492
				ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, 0.1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(-3.5), Rad(0), Rad(-10)), 0.15)
2493
				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(-.6), Rad(25 + 4.5 * Sin(sine / 20))), 0.1)
2494
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.1)
2495
			end
2496
		elseif(State == 'Idle')then
2497
			change = 1
2498
			if attack == false then
2499
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
2500
				neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(5)), 0.1)
2501
				rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
2502
				ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
2503
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.3 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(210), Rad(0), Rad(-10)), 0.1)
2504
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1)
2505
			end
2506
		elseif(State == 'Walk')then
2507
			change = 0.76
2508
			hum.JumpPower = 55
2509
			if attack == false then
2510
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.3 - 0.15 * Cos(sine / (WALKSPEEDVALUE / 2))) * angles(Rad(25), Rad(0), Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE )) + root.RotVelocity.Y / 75), 0.1)
2511
				neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-5 + 5 * Sin(sine / (WALKSPEEDVALUE / 2))), Rad(0), Rad(0 + 10 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / 13), 0.1)
2512
				rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.8 - 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, 0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size)  * angles(Rad(-10 - 65 * Cos(sine / WALKSPEEDVALUE)) - root.RotVelocity.Y / 75 + -Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
2513
         		ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.8 + 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, -0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 + 65 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / -75 + Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
2514
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.3 + 0.05 * Cos(sine / WALKSPEEDVALUE)* Player_Size, 0* Player_Size) * angles(Rad(210), Rad(0), Rad(-10)), 0.1)
2515
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Cos(sine / WALKSPEEDVALUE)* Player_Size, 0 + 0.5 * Cos(sine / WALKSPEEDVALUE)* Player_Size) * angles(Rad(-125 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / 75, Rad(10 * Cos(sine / WALKSPEEDVALUE)), Rad(-20) + root.RotVelocity.Y / -75), 0.1)
2516
			elseif attack == true and movelegs == true then
2517
				rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.8 - 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, 0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size)  * angles(Rad(-10 - 25 * Cos(sine / WALKSPEEDVALUE)) - root.RotVelocity.Y / 75 + -Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
2518
         		ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.8 + 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, -0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 + 25 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / -75 + Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
2519
			end
2520
		end
2521
		else
2522
			Sit.Value = true
2523
			if attack == false then
2524
			rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.5 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
2525
			neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-5 - 2.5 * Sin(sine / 30)), Rad(0), Rad(-5)), 0.1)
2526
			rl.Weld.C0 = clerp(rl.Weld.C0, CF(1* Player_Size, -0.35 - 0.05 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(15), Rad(75), Rad(0)) * angles(Rad(-5), Rad(0), Rad(5)), 0.1)
2527
			ll.Weld.C0 = clerp(ll.Weld.C0, CF(-1* Player_Size, -0.35 - 0.05 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(15), Rad(-75), Rad(0)) * angles(Rad(-5), Rad(0), Rad(5)), 0.1)
2528
			RW.C0 = clerp(RW.C0, CF(1.3* Player_Size, 0.4 + 0.1 * Sin(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(35), Rad(-20), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
2529
			LW.C0 = clerp(LW.C0, CF(-1.3* Player_Size, 0.4 + 0.1 * Sin(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(35), Rad(20), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
2530
			end
2531
		end
2532
	end
2533
	hum.WalkSpeed = Speed
2534
	Music.SoundId = "rbxassetid://"..SONG
2535
	Music.Looped = true
2536
	Music.Pitch = 1
2537
	Music.Volume = 2
2538
	Music.Parent = tors
2539
	Music.Playing = true
2540
	if 0 < #Effects then
2541
		for e = 1, #Effects do
2542
			if Effects[e] ~= nil then
2543
				local Thing = Effects[e]
2544
				if Thing ~= nil then
2545
					local Part = Thing[1]
2546
					local Mode = Thing[2]
2547
					local Delay = Thing[3]
2548
					local IncX = Thing[4]
2549
					local IncY = Thing[5]
2550
					local IncZ = Thing[6]
2551
					if 1 >= Thing[1].Transparency then
2552
						if Thing[2] == "Block1" then
2553
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
2554
							local Mesh = Thing[1].Mesh
2555
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2556
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2557
						elseif Thing[2] == "Block2" then
2558
							Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
2559
							local Mesh = Thing[7]
2560
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2561
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2562
						elseif Thing[2] == "Block3" then
2563
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
2564
							local Mesh = Thing[7]
2565
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2566
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2567
						elseif Thing[2] == "Cylinder" then
2568
							local Mesh = Thing[1].Mesh
2569
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2570
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2571
						elseif Thing[2] == "Blood" then
2572
							local Mesh = Thing[7]
2573
							Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
2574
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2575
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2576
						elseif Thing[2] == "Elec" then
2577
							local Mesh = Thing[1].Mesh
2578
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
2579
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2580
						elseif Thing[2] == "Disappear" then
2581
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2582
						elseif Thing[2] == "Shatter" then
2583
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2584
							Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
2585
							Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
2586
							Thing[6] = Thing[6] + Thing[5]
2587
						end
2588
					else
2589
						Part.Parent = nil
2590
						table.remove(Effects, e)
2591
					end
2592
				end
2593
			end
2594
		end
2595
	end
2596
end
2597
-------------------------------------------------------
2598
--End Animations And Script--
2599
-------------------------------------------------------
2600
2601
-------------------------------------------------if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
2602
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
2603
do
2604
	print("FE Compatibility code by Mokiros")
2605
	script.Parent = Player.Character
2606
2607
	--RemoteEvent for communicating
2608
	local Event = Instance.new("RemoteEvent")
2609
	Event.Name = "UserInput_Event"
2610
2611
	--Fake event to make stuff like Mouse.KeyDown work
2612
	local function fakeEvent()
2613
		local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
2614
		t.connect = t.Connect
2615
		return t
2616
	end
2617
2618
	--Creating fake input objects with fake variables
2619
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
2620
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
2621
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
2622
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
2623
	end}
2624
	--Merged 2 functions into one by checking amount of arguments
2625
	CAS.UnbindAction = CAS.BindAction
2626
2627
	--This function will trigger the events that have been :Connect()'ed
2628
	local function te(self,ev,...)
2629
		local t = m[ev]
2630
		if t and t._fakeEvent and t.Function then
2631
			t.Function(...)
2632
		end
2633
	end
2634
	m.TrigEvent = te
2635
	UIS.TrigEvent = te
2636
2637
	Event.OnServerEvent:Connect(function(plr,io)
2638
	    if plr~=Player then return end
2639
		if io.isMouse then
2640
			m.Target = io.Target
2641
			m.Hit = io.Hit
2642
		else
2643
			local b = io.UserInputState == Enum.UserInputState.Begin
2644
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
2645
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
2646
			end
2647
			for _,t in pairs(CAS.Actions) do
2648
				for _,k in pairs(t.Keys) do
2649
					if k==io.KeyCode then
2650
						t.Function(t.Name,io.UserInputState,io)
2651
					end
2652
				end
2653
			end
2654
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
2655
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
2656
	    end
2657
	end)
2658
	Event.Parent = NLS([==[
2659
	local Player = game:GetService("Players").LocalPlayer
2660
	local Event = script:WaitForChild("UserInput_Event")
2661
2662
	local UIS = game:GetService("UserInputService")
2663
	local input = function(io,a)
2664
		if a then return end
2665
		--Since InputObject is a client-side instance, we create and pass table instead
2666
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
2667
	end
2668
	UIS.InputBegan:Connect(input)
2669
	UIS.InputEnded:Connect(input)
2670
2671
	local Mouse = Player:GetMouse()
2672
	local h,t
2673
	--Give the server mouse data 30 times every second, but only if the values changed
2674
	--If player is not moving their mouse, client won't fire events
2675
	while wait(1/30) do
2676
		if h~=Mouse.Hit or t~=Mouse.Target then
2677
			h,t=Mouse.Hit,Mouse.Target
2678
			Event:FireServer({isMouse=true,Target=t,Hit=h})
2679
		end
2680
	end]==],Player.Character)
2681
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
2682
end
2683
2684
---------Replace All "kermat161" With Your Name
2685
-----------------------------Script In The Line's
2686
2687
--TODO: add comments or something idk
2688
wait(0.2)
2689
2690
handle = Instance.new('Part')
2691
handle.Name = 'Handle'
2692
handle.Parent = hat1
2693
 
2694
handlemesh = Instance.new('SpecialMesh')
2695
handlemesh.MeshType = 'FileMesh'
2696
handlemesh.MeshId = 'http://www.roblox.com/asset/?id=63688922'
2697
handlemesh.TextureId = 'rbxassetid://63688929'
2698
handlemesh.Parent = handlemusic
2699
2700
 local shirt = Instance.new("Shirt",char)
2701
shirt.ShirtTemplate = "rbxassetid://2270330688"
2702
local pants = Instance.new("Pants",char)
2703
pants.PantsTemplate = "rbxassetid://3063981747"
2704
2705
local plr = owner
2706
local char = plr.Character
2707
local hum = char:FindFirstChildOfClass'Humanoid'
2708
local hed = char.Head
2709
local root = char:FindFirstChild'HumanoidRootPart'
2710
local rootj = root.RootJoint
2711
local tors = char.Torso
2712
local ra = char["Right Arm"]
2713
local la = char["Left Arm"]
2714
local rl = char["Right Leg"]
2715
local ll = char["Left Leg"]
2716
local neck = tors["Neck"]
2717
local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
2718
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
2719
local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
2720
local maincolor = BrickColor.new("Institutional white")
2721
-------------------------------------------------------
2722
--Start Whitelist and Invincibility--
2723
-------------------------------------------------------	
2724
ff = Instance.new("ForceField",char)
2725
ff.Visible = false
2726
hum.Name = "Base"
2727
hum.MaxHealth = 1.0E298
2728
hum.Health = 1.0E298
2729
game:GetService("RunService"):BindToRenderStep("Base", 0, function()
2730
  if hum.Health > 0.1 and hum.Health < 1.0E298 then
2731
    hum.MaxHealth = 1.0E298
2732
    hum.Health = 1.0E298
2733
  end
2734
end)
2735
-------------------------------------------------------
2736
--End Whitelist and Invincibility--
2737
-------------------------------------------------------	
2738
2739
-------------------------------------------------------
2740
--Start Good Stuff--
2741
-------------------------------------------------------
2742
cam = game.Workspace.CurrentCamera
2743
CF = CFrame.new
2744
angles = CFrame.Angles
2745
attack = false
2746
Euler = CFrame.fromEulerAnglesXYZ
2747
Rad = math.rad
2748
IT = Instance.new
2749
BrickC = BrickColor.new
2750
Cos = math.cos
2751
Acos = math.acos
2752
Sin = math.sin
2753
Asin = math.asin
2754
Abs = math.abs
2755
Mrandom = math.random
2756
Floor = math.floor
2757
-------------------------------------------------------
2758
--End Good Stuff--
2759
-------------------------------------------------------
2760
necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
2761
RSH, LSH = nil, nil 
2762
RW = Instance.new("Weld") 
2763
LW = Instance.new("Weld")
2764
RH = tors["Right Hip"]
2765
LH = tors["Left Hip"]
2766
RSH = tors["Right Shoulder"] 
2767
LSH = tors["Left Shoulder"] 
2768
RSH.Parent = nil 
2769
LSH.Parent = nil 
2770
RW.Name = "RW"
2771
RW.Part0 = tors 
2772
RW.C0 = CF(1.5, 0.5, 0)
2773
RW.C1 = CF(0, 0.5, 0) 
2774
RW.Part1 = ra
2775
RW.Parent = tors 
2776
LW.Name = "LW"
2777
LW.Part0 = tors 
2778
LW.C0 = CF(-1.5, 0.5, 0)
2779
LW.C1 = CF(0, 0.5, 0) 
2780
LW.Part1 = la
2781
LW.Parent = tors
2782
Effects = {}
2783
newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
2784
    local wld = Instance.new("Weld", wp1)
2785
    wld.Part0 = wp0
2786
    wld.Part1 = wp1
2787
    wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
2788
end
2789
newWeld(tors, ll, -0.5, -1, 0)
2790
ll.Weld.C1 = CFrame.new(0, 1, 0)
2791
newWeld(tors, rl, 0.5, -1, 0)
2792
rl.Weld.C1 = CFrame.new(0, 1, 0)
2793
-------------------------------------------------------
2794
--Start HeartBeat--
2795
-------------------------------------------------------
2796
ArtificialHB = Instance.new("BindableEvent", script)
2797
ArtificialHB.Name = "Heartbeat"
2798
script:WaitForChild("Heartbeat")
2799
2800
frame = 1 / 60
2801
tf = 0
2802
allowframeloss = false
2803
tossremainder = false
2804
2805
2806
lastframe = tick()
2807
script.Heartbeat:Fire()
2808
2809
2810
game:GetService("RunService").Heartbeat:connect(function(s, p)
2811
	tf = tf + s
2812
	if tf >= frame then
2813
		if allowframeloss then
2814
			script.Heartbeat:Fire()
2815
			lastframe = tick()
2816
		else
2817
			for i = 1, math.floor(tf / frame) do
2818
				script.Heartbeat:Fire()
2819
			end
2820
			lastframe = tick()
2821
		end
2822
		if tossremainder then
2823
			tf = 0
2824
		else
2825
			tf = tf - frame * math.floor(tf / frame)
2826
		end
2827
	end
2828
end)
2829
-------------------------------------------------------
2830
--End HeartBeat--
2831
-------------------------------------------------------
2832
2833
-------------------------------------------------------
2834
--Start Important Functions--
2835
-------------------------------------------------------
2836
function swait(num)
2837
	if num == 0 or num == nil then
2838
		game:service("RunService").Stepped:wait(0)
2839
	else
2840
		for i = 0, num do
2841
			game:service("RunService").Stepped:wait(0)
2842
		end
2843
	end
2844
end
2845
function thread(f)
2846
	coroutine.resume(coroutine.create(f))
2847
end
2848
function clerp(a, b, t)
2849
	local qa = {
2850
		QuaternionFromCFrame(a)
2851
	}
2852
	local qb = {
2853
		QuaternionFromCFrame(b)
2854
	}
2855
	local ax, ay, az = a.x, a.y, a.z
2856
	local bx, by, bz = b.x, b.y, b.z
2857
	local _t = 1 - t
2858
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
2859
end
2860
function QuaternionFromCFrame(cf)
2861
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
2862
	local trace = m00 + m11 + m22
2863
	if trace > 0 then
2864
		local s = math.sqrt(1 + trace)
2865
		local recip = 0.5 / s
2866
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
2867
	else
2868
		local i = 0
2869
		if m00 < m11 then
2870
			i = 1
2871
		end
2872
		if m22 > (i == 0 and m00 or m11) then
2873
			i = 2
2874
		end
2875
		if i == 0 then
2876
			local s = math.sqrt(m00 - m11 - m22 + 1)
2877
			local recip = 0.5 / s
2878
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
2879
		elseif i == 1 then
2880
			local s = math.sqrt(m11 - m22 - m00 + 1)
2881
			local recip = 0.5 / s
2882
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
2883
		elseif i == 2 then
2884
			local s = math.sqrt(m22 - m00 - m11 + 1)
2885
			local recip = 0.5 / s
2886
			return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
2887
		end
2888
	end
2889
end
2890
function QuaternionToCFrame(px, py, pz, x, y, z, w)
2891
	local xs, ys, zs = x + x, y + y, z + z
2892
	local wx, wy, wz = w * xs, w * ys, w * zs
2893
	local xx = x * xs
2894
	local xy = x * ys
2895
	local xz = x * zs
2896
	local yy = y * ys
2897
	local yz = y * zs
2898
	local zz = z * zs
2899
	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))
2900
end
2901
function QuaternionSlerp(a, b, t)
2902
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
2903
	local startInterp, finishInterp
2904
	if cosTheta >= 1.0E-4 then
2905
		if 1 - cosTheta > 1.0E-4 then
2906
			local theta = math.acos(cosTheta)
2907
			local invSinTheta = 1 / Sin(theta)
2908
			startInterp = Sin((1 - t) * theta) * invSinTheta
2909
			finishInterp = Sin(t * theta) * invSinTheta
2910
		else
2911
			startInterp = 1 - t
2912
			finishInterp = t
2913
		end
2914
	elseif 1 + cosTheta > 1.0E-4 then
2915
		local theta = math.acos(-cosTheta)
2916
		local invSinTheta = 1 / Sin(theta)
2917
		startInterp = Sin((t - 1) * theta) * invSinTheta
2918
		finishInterp = Sin(t * theta) * invSinTheta
2919
	else
2920
		startInterp = t - 1
2921
		finishInterp = t
2922
	end
2923
	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
2924
end
2925
function rayCast(Position, Direction, Range, Ignore)
2926
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
2927
end
2928
local RbxUtility = LoadLibrary("RbxUtility")
2929
local Create = RbxUtility.Create
2930
2931
-------------------------------------------------------
2932
--Start Damage Function--
2933
-------------------------------------------------------
2934
function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
2935
	if hit.Parent == nil then
2936
		return
2937
	end
2938
	local h = hit.Parent:FindFirstChildOfClass("Humanoid")
2939
	for _, v in pairs(hit.Parent:children()) do
2940
		if v:IsA("Humanoid") then
2941
			h = v
2942
		end
2943
	end
2944
         if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
2945
	
2946
         hit.Parent:FindFirstChild("Head"):BreakJoints()
2947
         end
2948
2949
	if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
2950
		if hit.Parent:findFirstChild("DebounceHit") ~= nil then
2951
			if hit.Parent.DebounceHit.Value == true then
2952
				return
2953
			end
2954
		end
2955
         if insta == true then
2956
         hit.Parent:FindFirstChild("Head"):BreakJoints()
2957
         end
2958
		local c = Create("ObjectValue"){
2959
			Name = "creator",
2960
			Value = owner,
2961
			Parent = h,
2962
		}
2963
		game:GetService("Debris"):AddItem(c, .5)
2964
		if HitSound ~= nil and HitPitch ~= nil then
2965
			CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) 
2966
		end
2967
		local Damage = math.random(20, 40)
2968
		local blocked = false
2969
		local block = hit.Parent:findFirstChild("Block")
2970
		if block ~= nil then
2971
			if block.className == "IntValue" then
2972
				if block.Value > 0 then
2973
					blocked = true
2974
					block.Value = block.Value - 1
2975
					print(block.Value)
2976
				end
2977
			end
2978
		end
2979
		if blocked == false then
2980
			h.Health = h.Health - Damage
2981
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
2982
		else
2983
			h.Health = h.Health - (Damage / 2)
2984
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
2985
		end
2986
		if Type == "Knockdown" then
2987
			local hum = hit.Parent.Humanoid
2988
			hum.PlatformStand = true
2989
			coroutine.resume(coroutine.create(function(HHumanoid)
2990
				swait(1)
2991
				HHumanoid.PlatformStand = false
2992
			end), hum)
2993
			local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
2994
			local bodvol = Create("BodyVelocity"){
2995
				velocity = angle * knockback,
2996
				P = 5000,
2997
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
2998
				Parent = hit,
2999
			}
3000
			local rl = Create("BodyAngularVelocity"){
3001
				P = 3000,
3002
				maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
3003
				angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
3004
				Parent = hit,
3005
			}
3006
			game:GetService("Debris"):AddItem(bodvol, .5)
3007
			game:GetService("Debris"):AddItem(rl, .5)
3008
		elseif Type == "Normal" then
3009
			local vp = Create("BodyVelocity"){
3010
				P = 500,
3011
				maxForce = Vector3.new(math.huge, 0, math.huge),
3012
				velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
3013
			}
3014
			if knockback > 0 then
3015
				vp.Parent = hit.Parent.Torso
3016
			end
3017
			game:GetService("Debris"):AddItem(vp, .5)
3018
		elseif Type == "Up" then
3019
			local bodyVelocity = Create("BodyVelocity"){
3020
				velocity = Vector3.new(0, 20, 0),
3021
				P = 5000,
3022
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
3023
				Parent = hit,
3024
			}
3025
			game:GetService("Debris"):AddItem(bodyVelocity, .5)
3026
		elseif Type == "DarkUp" then
3027
			coroutine.resume(coroutine.create(function()
3028
				for i = 0, 1, 0.1 do
3029
					swait()
3030
					Effects.Block.Create(BrickColor.new("Gold"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
3031
				end
3032
			end))
3033
			local bodyVelocity = Create("BodyVelocity"){
3034
				velocity = Vector3.new(0, 20, 0),
3035
				P = 5000,
3036
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
3037
				Parent = hit,
3038
			}
3039
			game:GetService("Debris"):AddItem(bodyVelocity, 1)
3040
		elseif Type == "Snare" then
3041
			local bp = Create("BodyPosition"){
3042
				P = 2000,
3043
				D = 100,
3044
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
3045
				position = hit.Parent.Torso.Position,
3046
				Parent = hit.Parent.Torso,
3047
			}
3048
			game:GetService("Debris"):AddItem(bp, 1)
3049
		elseif Type == "Freeze" then
3050
			local BodPos = Create("BodyPosition"){
3051
				P = 50000,
3052
				D = 1000,
3053
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
3054
				position = hit.Parent.Torso.Position,
3055
				Parent = hit.Parent.Torso,
3056
			}
3057
			local BodGy = Create("BodyGyro") {
3058
				maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
3059
				P = 20e+003,
3060
				Parent = hit.Parent.Torso,
3061
				cframe = hit.Parent.Torso.CFrame,
3062
			}
3063
			hit.Parent.Torso.Anchored = true
3064
			coroutine.resume(coroutine.create(function(Part) 
3065
				swait(1.5)
3066
				Part.Anchored = false
3067
			end), hit.Parent.Torso)
3068
			game:GetService("Debris"):AddItem(BodPos, 3)
3069
			game:GetService("Debris"):AddItem(BodGy, 3)
3070
		end
3071
		local debounce = Create("BoolValue"){
3072
			Name = "DebounceHit",
3073
			Parent = hit.Parent,
3074
			Value = true,
3075
		}
3076
		game:GetService("Debris"):AddItem(debounce, Delay)
3077
		c = Create("ObjectValue"){
3078
			Name = "creator",
3079
			Value = Player,
3080
			Parent = h,
3081
		}
3082
		game:GetService("Debris"):AddItem(c, .5)
3083
	end
3084
end
3085
-------------------------------------------------------
3086
--End Damage Function--
3087
-------------------------------------------------------
3088
3089
-------------------------------------------------------
3090
--Start Damage Function Customization--
3091
-------------------------------------------------------
3092
function ShowDamage(Pos, Text, Time, Color)
3093
	local Rate = (1 / 30)
3094
	local Pos = (Pos or Vector3.new(0, 0, 0))
3095
	local Text = (Text or "")
3096
	local Time = (Time or 2)
3097
	local Color = (Color or Color3.new(1, 0, 1))
3098
	local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
3099
	EffectPart.Anchored = true
3100
	local BillboardGui = Create("BillboardGui"){
3101
		Size = UDim2.new(3, 0, 3, 0),
3102
		Adornee = EffectPart,
3103
		Parent = EffectPart,
3104
	}
3105
	local TextLabel = Create("TextLabel"){
3106
		BackgroundTransparency = 1,
3107
		Size = UDim2.new(1, 0, 1, 0),
3108
		Text = Text,
3109
		Font = "Bodoni",
3110
		TextColor3 = Color,
3111
		TextScaled = true,
3112
		TextStrokeColor3 = Color3.fromRGB(0,0,0),
3113
		Parent = BillboardGui,
3114
	}
3115
	game.Debris:AddItem(EffectPart, (Time))
3116
	EffectPart.Parent = game:GetService("Workspace")
3117
	delay(0, function()
3118
		local Frames = (Time / Rate)
3119
		for Frame = 1, Frames do
3120
			wait(Rate)
3121
			local Percent = (Frame / Frames)
3122
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
3123
			TextLabel.TextTransparency = Percent
3124
		end
3125
		if EffectPart and EffectPart.Parent then
3126
			EffectPart:Destroy()
3127
		end
3128
	end)
3129
end
3130
-------------------------------------------------------
3131
--End Damage Function Customization--
3132
-------------------------------------------------------
3133
3134
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
3135
  for _, c in pairs(workspace:children()) do
3136
    local hum = c:findFirstChild("Humanoid")
3137
    if hum ~= nil then
3138
      local head = c:findFirstChild("Head")
3139
      if head ~= nil then
3140
        local targ = head.Position - Part.Position
3141
        local mag = targ.magnitude
3142
        if magni >= mag and c.Name ~= plr.Name then
3143
          Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
3144
        end
3145
      end
3146
    end
3147
  end
3148
end
3149
3150
3151
CFuncs = {
3152
	Part = {
3153
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
3154
			local Part = Create("Part")({
3155
				Parent = Parent,
3156
				Reflectance = Reflectance,
3157
				Transparency = Transparency,
3158
				CanCollide = false,
3159
				Locked = true,
3160
				BrickColor = BrickColor.new(tostring(BColor)),
3161
				Name = Name,
3162
				Size = Size,
3163
				Material = Material
3164
			})
3165
			RemoveOutlines(Part)
3166
			return Part
3167
		end
3168
	},
3169
	Mesh = {
3170
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
3171
			local Msh = Create(Mesh)({
3172
				Parent = Part,
3173
				Offset = OffSet,
3174
				Scale = Scale
3175
			})
3176
			if Mesh == "SpecialMesh" then
3177
				Msh.MeshType = MeshType
3178
				Msh.MeshId = MeshId
3179
			end
3180
			return Msh
3181
		end
3182
	},
3183
	Mesh = {
3184
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
3185
			local Msh = Create(Mesh)({
3186
				Parent = Part,
3187
				Offset = OffSet,
3188
				Scale = Scale
3189
			})
3190
			if Mesh == "SpecialMesh" then
3191
				Msh.MeshType = MeshType
3192
				Msh.MeshId = MeshId
3193
			end
3194
			return Msh
3195
		end
3196
	},
3197
	Weld = {
3198
		Create = function(Parent, Part0, Part1, C0, C1)
3199
			local Weld = Create("Weld")({
3200
				Parent = Parent,
3201
				Part0 = Part0,
3202
				Part1 = Part1,
3203
				C0 = C0,
3204
				C1 = C1
3205
			})
3206
			return Weld
3207
		end
3208
	},
3209
	Sound = {
3210
		Create = function(id, par, vol, pit)
3211
			coroutine.resume(coroutine.create(function()
3212
				local S = Create("Sound")({
3213
					Volume = vol,
3214
					Pitch = pit or 1,
3215
					SoundId = id,
3216
					Parent = par or workspace
3217
				})
3218
				wait()
3219
				S:play()
3220
				game:GetService("Debris"):AddItem(S, 6)
3221
			end))
3222
		end
3223
	},
3224
	ParticleEmitter = {
3225
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
3226
			local fp = Create("ParticleEmitter")({
3227
				Parent = Parent,
3228
				Color = ColorSequence.new(Color1, Color2),
3229
				LightEmission = LightEmission,
3230
				Size = Size,
3231
				Texture = Texture,
3232
				Transparency = Transparency,
3233
				ZOffset = ZOffset,
3234
				Acceleration = Accel,
3235
				Drag = Drag,
3236
				LockedToPart = LockedToPart,
3237
				VelocityInheritance = VelocityInheritance,
3238
				EmissionDirection = EmissionDirection,
3239
				Enabled = Enabled,
3240
				Lifetime = LifeTime,
3241
				Rate = Rate,
3242
				Rotation = Rotation,
3243
				RotSpeed = RotSpeed,
3244
				Speed = Speed,
3245
				VelocitySpread = VelocitySpread
3246
			})
3247
			return fp
3248
		end
3249
	}
3250
}
3251
function RemoveOutlines(part)
3252
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
3253
end
3254
function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
3255
	local Part = Create("Part")({
3256
		formFactor = FormFactor,
3257
		Parent = Parent,
3258
		Reflectance = Reflectance,
3259
		Transparency = Transparency,
3260
		CanCollide = false,
3261
		Locked = true,
3262
		BrickColor = BrickColor.new(tostring(BColor)),
3263
		Name = Name,
3264
		Size = Size,
3265
		Material = Material
3266
	})
3267
	RemoveOutlines(Part)
3268
	return Part
3269
end
3270
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
3271
	local Msh = Create(Mesh)({
3272
		Parent = Part,
3273
		Offset = OffSet,
3274
		Scale = Scale
3275
	})
3276
	if Mesh == "SpecialMesh" then
3277
		Msh.MeshType = MeshType
3278
		Msh.MeshId = MeshId
3279
	end
3280
	return Msh
3281
end
3282
function CreateWeld(Parent, Part0, Part1, C0, C1)
3283
	local Weld = Create("Weld")({
3284
		Parent = Parent,
3285
		Part0 = Part0,
3286
		Part1 = Part1,
3287
		C0 = C0,
3288
		C1 = C1
3289
	})
3290
	return Weld
3291
end
3292
3293
3294
-------------------------------------------------------
3295
--Start Effect Function--
3296
-------------------------------------------------------
3297
EffectModel = Instance.new("Model", char)
3298
Effects = {
3299
  Block = {
3300
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
3301
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
3302
      prt.Anchored = true
3303
      prt.CFrame = cframe
3304
      local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
3305
      game:GetService("Debris"):AddItem(prt, 10)
3306
      if Type == 1 or Type == nil then
3307
        table.insert(Effects, {
3308
          prt,
3309
          "Block1",
3310
          delay,
3311
          x3,
3312
          y3,
3313
          z3,
3314
          msh
3315
        })
3316
      elseif Type == 2 then
3317
        table.insert(Effects, {
3318
          prt,
3319
          "Block2",
3320
          delay,
3321
          x3,
3322
          y3,
3323
          z3,
3324
          msh
3325
        })
3326
      else
3327
        table.insert(Effects, {
3328
          prt,
3329
          "Block3",
3330
          delay,
3331
          x3,
3332
          y3,
3333
          z3,
3334
          msh
3335
        })
3336
      end
3337
    end
3338
  },
3339
  Sphere = {
3340
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
3341
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
3342
      prt.Anchored = true
3343
      prt.CFrame = cframe
3344
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
3345
      game:GetService("Debris"):AddItem(prt, 10)
3346
      table.insert(Effects, {
3347
        prt,
3348
        "Cylinder",
3349
        delay,
3350
        x3,
3351
        y3,
3352
        z3,
3353
        msh
3354
      })
3355
    end
3356
  },
3357
  Cylinder = {
3358
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
3359
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
3360
      prt.Anchored = true
3361
      prt.CFrame = cframe
3362
      local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
3363
      game:GetService("Debris"):AddItem(prt, 10)
3364
      table.insert(Effects, {
3365
        prt,
3366
        "Cylinder",
3367
        delay,
3368
        x3,
3369
        y3,
3370
        z3,
3371
        msh
3372
      })
3373
    end
3374
  },
3375
  Wave = {
3376
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
3377
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
3378
      prt.Anchored = true
3379
      prt.CFrame = cframe
3380
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
3381
      game:GetService("Debris"):AddItem(prt, 10)
3382
      table.insert(Effects, {
3383
        prt,
3384
        "Cylinder",
3385
        delay,
3386
        x3 / 60,
3387
        y3 / 60,
3388
        z3 / 60,
3389
        msh
3390
      })
3391
    end
3392
  },
3393
  Ring = {
3394
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
3395
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
3396
      prt.Anchored = true
3397
      prt.CFrame = cframe
3398
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
3399
      game:GetService("Debris"):AddItem(prt, 10)
3400
      table.insert(Effects, {
3401
        prt,
3402
        "Cylinder",
3403
        delay,
3404
        x3,
3405
        y3,
3406
        z3,
3407
        msh
3408
      })
3409
    end
3410
  },
3411
  Break = {
3412
    Create = function(brickcolor, cframe, x1, y1, z1)
3413
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
3414
      prt.Anchored = true
3415
      prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
3416
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
3417
      local num = math.random(10, 50) / 1000
3418
      game:GetService("Debris"):AddItem(prt, 10)
3419
      table.insert(Effects, {
3420
        prt,
3421
        "Shatter",
3422
        num,
3423
        prt.CFrame,
3424
        math.random() - math.random(),
3425
        0,
3426
        math.random(50, 100) / 100
3427
      })
3428
    end
3429
  },
3430
Spiral = {
3431
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
3432
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
3433
      prt.Anchored = true
3434
      prt.CFrame = cframe
3435
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
3436
      game:GetService("Debris"):AddItem(prt, 10)
3437
      table.insert(Effects, {
3438
        prt,
3439
        "Cylinder",
3440
        delay,
3441
        x3,
3442
        y3,
3443
        z3,
3444
        msh
3445
      })
3446
    end
3447
  },
3448
Push = {
3449
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
3450
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
3451
      prt.Anchored = true
3452
      prt.CFrame = cframe
3453
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
3454
      game:GetService("Debris"):AddItem(prt, 10)
3455
      table.insert(Effects, {
3456
        prt,
3457
        "Cylinder",
3458
        delay,
3459
        x3,
3460
        y3,
3461
        z3,
3462
        msh
3463
      })
3464
    end
3465
  }
3466
}
3467
function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
3468
	local fp = IT("Part")
3469
	fp.formFactor = formfactor 
3470
	fp.Parent = parent
3471
	fp.Reflectance = reflectance
3472
	fp.Transparency = transparency
3473
	fp.CanCollide = false 
3474
	fp.Locked = true
3475
	fp.BrickColor = brickcolor
3476
	fp.Name = name
3477
	fp.Size = size
3478
	fp.Position = tors.Position 
3479
	RemoveOutlines(fp)
3480
	fp.Material = "SmoothPlastic"
3481
	fp:BreakJoints()
3482
	return fp 
3483
end 
3484
 
3485
function mesh(Mesh,part,meshtype,meshid,offset,scale)
3486
	local mesh = IT(Mesh) 
3487
	mesh.Parent = part
3488
	if Mesh == "SpecialMesh" then
3489
		mesh.MeshType = meshtype
3490
	if meshid ~= "nil" then
3491
		mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
3492
		end
3493
	end
3494
	mesh.Offset = offset
3495
	mesh.Scale = scale
3496
	return mesh
3497
end
3498
3499
function Magic(bonuspeed, type, pos, scale, value, color, MType)
3500
	local type = type
3501
	local rng = Instance.new("Part", char)
3502
	rng.Anchored = true
3503
	rng.BrickColor = color
3504
	rng.CanCollide = false
3505
	rng.FormFactor = 3
3506
	rng.Name = "Ring"
3507
	rng.Material = "Neon"
3508
	rng.Size = Vector3.new(1, 1, 1)
3509
	rng.Transparency = 0
3510
	rng.TopSurface = 0
3511
	rng.BottomSurface = 0
3512
	rng.CFrame = pos
3513
	local rngm = Instance.new("SpecialMesh", rng)
3514
	rngm.MeshType = MType
3515
	rngm.Scale = scale
3516
	local scaler2 = 1
3517
	if type == "Add" then
3518
		scaler2 = 1 * value
3519
	elseif type == "Divide" then
3520
		scaler2 = 1 / value
3521
	end
3522
	coroutine.resume(coroutine.create(function()
3523
		for i = 0, 10 / bonuspeed, 0.1 do
3524
			swait()
3525
			if type == "Add" then
3526
				scaler2 = scaler2 - 0.01 * value / bonuspeed
3527
			elseif type == "Divide" then
3528
				scaler2 = scaler2 - 0.01 / value * bonuspeed
3529
			end
3530
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
3531
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
3532
		end
3533
		rng:Destroy()
3534
	end))
3535
end
3536
3537
function Eviscerate(dude)
3538
	if dude.Name ~= char then
3539
		local bgf = IT("BodyGyro", dude.Head)
3540
		bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
3541
		local val = IT("BoolValue", dude)
3542
		val.Name = "IsHit"
3543
		local ds = coroutine.wrap(function()
3544
			dude:WaitForChild("Head"):BreakJoints()
3545
			wait(0.5)
3546
			target = nil
3547
			coroutine.resume(coroutine.create(function()
3548
				for i, v in pairs(dude:GetChildren()) do
3549
					if v:IsA("Accessory") then
3550
						v:Destroy()
3551
					end
3552
					if v:IsA("Humanoid") then
3553
						v:Destroy()
3554
					end
3555
					if v:IsA("CharacterMesh") then
3556
						v:Destroy()
3557
					end
3558
					if v:IsA("Model") then
3559
						v:Destroy()
3560
					end
3561
					if v:IsA("Part") or v:IsA("MeshPart") then
3562
						for x, o in pairs(v:GetChildren()) do
3563
							if o:IsA("Decal") then
3564
								o:Destroy()
3565
							end
3566
						end
3567
						coroutine.resume(coroutine.create(function()
3568
							v.Material = "Neon"
3569
							v.CanCollide = false
3570
							local PartEmmit1 = IT("ParticleEmitter", v)
3571
							PartEmmit1.LightEmission = 1
3572
							PartEmmit1.Texture = "rbxassetid://284205403"
3573
							PartEmmit1.Color = ColorSequence.new(maincolor.Color)
3574
							PartEmmit1.Rate = 150
3575
							PartEmmit1.Lifetime = NumberRange.new(1)
3576
							PartEmmit1.Size = NumberSequence.new({
3577
								NumberSequenceKeypoint.new(0, 0.75, 0),
3578
								NumberSequenceKeypoint.new(1, 0, 0)
3579
							})
3580
							PartEmmit1.Transparency = NumberSequence.new({
3581
								NumberSequenceKeypoint.new(0, 0, 0),
3582
								NumberSequenceKeypoint.new(1, 1, 0)
3583
							})
3584
							PartEmmit1.Speed = NumberRange.new(0, 0)
3585
							PartEmmit1.VelocitySpread = 30000
3586
							PartEmmit1.Rotation = NumberRange.new(-500, 500)
3587
							PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
3588
							local BodPoss = IT("BodyPosition", v)
3589
							BodPoss.P = 3000
3590
							BodPoss.D = 1000
3591
							BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
3592
							BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
3593
							v.Color = maincolor.Color
3594
							coroutine.resume(coroutine.create(function()
3595
								for i = 0, 49 do
3596
									swait(1)
3597
									v.Transparency = v.Transparency + 0.08
3598
								end
3599
								wait(0.5)
3600
								PartEmmit1.Enabled = false
3601
								wait(3)
3602
								v:Destroy()
3603
								dude:Destroy()
3604
							end))
3605
						end))
3606
					end
3607
				end
3608
			end))
3609
		end)
3610
		ds()
3611
	end
3612
end
3613
3614
function FindNearestHead(Position, Distance, SinglePlayer)
3615
	if SinglePlayer then
3616
		return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
3617
	end
3618
	local List = {}
3619
	for i, v in pairs(workspace:GetChildren()) do
3620
		if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
3621
			table.insert(List, v)
3622
		end
3623
	end
3624
	return List
3625
end
3626
3627
function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
3628
	local type = type
3629
	local rng = Instance.new("Part", char)
3630
	rng.Anchored = true
3631
	rng.BrickColor = color
3632
	rng.CanCollide = false
3633
	rng.FormFactor = 3
3634
	rng.Name = "Ring"
3635
	rng.Material = "Neon"
3636
	rng.Size = Vector3.new(1, 1, 1)
3637
	rng.Transparency = 0
3638
	rng.TopSurface = 0
3639
	rng.BottomSurface = 0
3640
	rng.CFrame = pos
3641
	rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
3642
	local rngm = Instance.new("SpecialMesh", rng)
3643
	rngm.MeshType = MType
3644
	rngm.Scale = Vector3.new(x1, y1, z1)
3645
	local scaler2 = 1
3646
	local speeder = FastSpeed
3647
	if type == "Add" then
3648
		scaler2 = 1 * value
3649
	elseif type == "Divide" then
3650
		scaler2 = 1 / value
3651
	end
3652
	coroutine.resume(coroutine.create(function()
3653
		for i = 0, 10 / bonuspeed, 0.1 do
3654
			swait()
3655
			if type == "Add" then
3656
				scaler2 = scaler2 - 0.01 * value / bonuspeed
3657
			elseif type == "Divide" then
3658
				scaler2 = scaler2 - 0.01 / value * bonuspeed
3659
			end
3660
			speeder = speeder - 0.01 * FastSpeed * bonuspeed
3661
			rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
3662
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
3663
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
3664
		end
3665
		rng:Destroy()
3666
	end))
3667
end
3668
3669
function SoulSteal(dude)
3670
if dude.Name ~= char then
3671
local bgf = IT("BodyGyro", dude.Head)
3672
bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
3673
local val = IT("BoolValue", dude)
3674
val.Name = "IsHit"
3675
local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
3676
local soulst = coroutine.wrap(function()
3677
local soul = Instance.new("Part",dude)
3678
soul.Size = Vector3.new(1,1,1)
3679
soul.CanCollide = false
3680
soul.Anchored = false
3681
soul.Position = torso.Position
3682
soul.Transparency = 1
3683
local PartEmmit1 = IT("ParticleEmitter", soul)
3684
PartEmmit1.LightEmission = 1
3685
PartEmmit1.Texture = "rbxassetid://569507414"
3686
PartEmmit1.Color = ColorSequence.new(maincolor.Color)
3687
PartEmmit1.Rate = 250
3688
PartEmmit1.Lifetime = NumberRange.new(1.6)
3689
PartEmmit1.Size = NumberSequence.new({
3690
	NumberSequenceKeypoint.new(0, 1, 0),
3691
	NumberSequenceKeypoint.new(1, 0, 0)
3692
})
3693
PartEmmit1.Transparency = NumberSequence.new({
3694
	NumberSequenceKeypoint.new(0, 0, 0),
3695
	NumberSequenceKeypoint.new(1, 1, 0)
3696
})
3697
PartEmmit1.Speed = NumberRange.new(0, 0)
3698
PartEmmit1.VelocitySpread = 30000
3699
PartEmmit1.Rotation = NumberRange.new(-360, 360)
3700
PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
3701
local BodPoss = IT("BodyPosition", soul)
3702
BodPoss.P = 3000
3703
BodPoss.D = 1000
3704
BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
3705
BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
3706
wait(1.6)
3707
soul.Touched:connect(function(hit)
3708
	if hit.Parent == char then
3709
	soul:Destroy()
3710
	end
3711
end)
3712
wait(1.2)
3713
while soul do
3714
	swait()
3715
	PartEmmit1.Color = ColorSequence.new(maincolor.Color)
3716
	BodPoss.Position = tors.Position
3717
end
3718
end)
3719
	soulst()
3720
	end
3721
end
3722
function FaceMouse()
3723
local	Cam = workspace.CurrentCamera
3724
	return {
3725
		CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
3726
		Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
3727
	}
3728
end
3729
Effects = {
3730
	Block = function(cf,partsize,meshstart,meshadd,matr,colour,spin,inverse,factor)
3731
	local p = Instance.new("Part",EffectModel)
3732
	p.BrickColor = BrickColor.new(colour)
3733
	p.Size = partsize
3734
	p.Anchored = true
3735
	p.CanCollide = false
3736
	p.Material = matr
3737
	p.CFrame = cf
3738
	if inverse == true then
3739
		p.Transparency = 1
3740
	else
3741
		p.Transparency = 0
3742
	end
3743
	local m = Instance.new("BlockMesh",p)
3744
	m.Scale = meshstart
3745
	coroutine.wrap(function()
3746
		for i = 0, 1, factor do
3747
			swait()
3748
			if inverse == true then
3749
				p.Transparency = 1-i
3750
			else
3751
				p.Transparency = i
3752
			end
3753
			m.Scale = m.Scale + meshadd
3754
			if spin == true then
3755
				p.CFrame = p.CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
3756
			end
3757
		end
3758
		p:Destroy()
3759
	end)()
3760
return p
3761
	end,
3762
	Sphere = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
3763
	local p = Instance.new("Part",EffectModel)
3764
	p.BrickColor = BrickColor.new(colour)
3765
	p.Size = partsize
3766
	p.Anchored = true
3767
	p.CanCollide = false
3768
	p.Material = matr
3769
	p.CFrame = cf
3770
	if inverse == true then
3771
		p.Transparency = 1
3772
	else
3773
		p.Transparency = 0
3774
	end
3775
	local m = Instance.new("SpecialMesh",p)
3776
	m.MeshType = "Sphere"
3777
	m.Scale = meshstart
3778
	coroutine.wrap(function()
3779
		for i=0,1,factor do
3780
			swait()
3781
			if inverse == true then
3782
				p.Transparency = 1-i
3783
			else
3784
				p.Transparency = i
3785
			end
3786
			m.Scale = m.Scale + meshadd
3787
		end
3788
	p:Destroy()
3789
end)()
3790
return p
3791
	end,
3792
3793
	Cylinder = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
3794
	local p = Instance.new("Part",EffectModel)
3795
	p.BrickColor = BrickColor.new(colour)
3796
	p.Size = partsize
3797
	p.Anchored = true
3798
	p.CanCollide = false
3799
	p.Material = matr
3800
	p.CFrame = cf
3801
	if inverse == true then
3802
		p.Transparency = 1
3803
	else
3804
		p.Transparency = 0
3805
	end
3806
	local m = Instance.new("CylinderMesh",p)
3807
	m.Scale = meshstart
3808
	coroutine.wrap(function()
3809
		for i=0,1,factor do
3810
			swait()
3811
			if inverse == true then
3812
				p.Transparency = 1-i
3813
			else
3814
				p.Transparency = i
3815
			end
3816
			m.Scale = m.Scale + meshadd
3817
		end
3818
	p:Destroy()
3819
end)()
3820
return p
3821
	end,
3822
3823
Wave = function(cf,meshstart,meshadd,colour,spin,inverse,factor)
3824
local p = Instance.new("Part",EffectModel)
3825
p.BrickColor = BrickColor.new(colour)
3826
p.Size = Vector3.new()
3827
p.Anchored = true
3828
p.CanCollide = false
3829
p.CFrame = cf
3830
if inverse == true then
3831
p.Transparency = 1
3832
else
3833
p.Transparency = 0
3834
end
3835
local m = Instance.new("SpecialMesh",p)
3836
m.MeshId = "rbxassetid://20329976"
3837
m.Scale = meshstart
3838
coroutine.wrap(function()
3839
for i=0,1,factor do
3840
swait()
3841
if inverse == true then
3842
p.Transparency = 1-i
3843
else
3844
p.Transparency = i
3845
end
3846
m.Scale = m.Scale + meshadd
3847
p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
3848
end
3849
p:Destroy()
3850
end)()
3851
return p
3852
end,
3853
3854
Ring = function(cf,meshstart,meshadd,colour,inverse,factor)
3855
local p = Instance.new("Part",EffectModel)
3856
p.BrickColor = BrickColor.new(colour)
3857
p.Size = Vector3.new()
3858
p.Anchored = true
3859
p.CanCollide = false
3860
p.CFrame = cf
3861
if inverse == true then
3862
p.Transparency = 1
3863
else
3864
p.Transparency = 0
3865
end
3866
local m = Instance.new("SpecialMesh",p)
3867
m.MeshId = "rbxassetid://3270017"
3868
m.Scale = meshstart
3869
coroutine.wrap(function()
3870
for i=0,1,factor do
3871
swait()
3872
if inverse == true then
3873
p.Transparency = 1-i
3874
else
3875
p.Transparency = i
3876
end
3877
m.Scale = m.Scale + meshadd
3878
end
3879
p:Destroy()
3880
end)()
3881
return p
3882
end,
3883
3884
Meshed = function(cf,meshstart,meshadd,colour,meshid,textid,spin,inverse,factor)
3885
local p = Instance.new("Part",EffectModel)
3886
p.BrickColor = BrickColor.new(colour)
3887
p.Size = Vector3.new()
3888
p.Anchored = true
3889
p.CanCollide = false
3890
p.CFrame = cf
3891
if inverse == true then
3892
p.Transparency = 1
3893
else
3894
p.Transparency = 0
3895
end
3896
local m = Instance.new("SpecialMesh",p)
3897
m.MeshId = meshid
3898
m.TextureId = textid
3899
m.Scale = meshstart
3900
coroutine.wrap(function()
3901
for i=0,1,factor do
3902
swait()
3903
if inverse == true then
3904
p.Transparency = 1-i
3905
else
3906
p.Transparency = i
3907
end
3908
m.Scale = m.Scale + meshadd
3909
p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
3910
end
3911
p:Destroy()
3912
end)()
3913
return p
3914
end,
3915
3916
Explode = function(cf,partsize,meshstart,meshadd,matr,colour,move,inverse,factor)
3917
local p = Instance.new("Part",EffectModel)
3918
p.BrickColor = BrickColor.new(colour)
3919
p.Size = partsize
3920
p.Anchored = true
3921
p.CanCollide = false
3922
p.Material = matr
3923
p.CFrame = cf * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
3924
if inverse == true then
3925
p.Transparency = 1
3926
else
3927
p.Transparency = 0
3928
end
3929
local m = Instance.new("SpecialMesh",p)
3930
m.MeshType = "Sphere"
3931
m.Scale = meshstart
3932
coroutine.wrap(function()
3933
for i=0,1,factor do
3934
swait()
3935
if inverse == true then
3936
p.Transparency = 1-i
3937
else
3938
p.Transparency = i
3939
end
3940
m.Scale = m.Scale + meshadd
3941
p.CFrame = p.CFrame * CFrame.new(0,move,0)
3942
end
3943
p:Destroy()
3944
end)()
3945
return p
3946
end,
3947
3948
}
3949
-------------------------------------------------------
3950
--End Effect Function--
3951
-------------------------------------------------------
3952
function Cso(ID, PARENT, VOLUME, PITCH)
3953
	local NSound = nil
3954
	coroutine.resume(coroutine.create(function()
3955
		NSound = IT("Sound", PARENT)
3956
		NSound.Volume = VOLUME
3957
		NSound.Pitch = PITCH
3958
		NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
3959
		swait()
3960
		NSound:play()
3961
		game:GetService("Debris"):AddItem(NSound, 10)
3962
	end))
3963
	return NSound
3964
end
3965
function CamShake(Length, Intensity)
3966
	coroutine.resume(coroutine.create(function()
3967
		local intensity = 1 * Intensity
3968
		local rotM = 0.01 * Intensity
3969
		for i = 0, Length, 0.1 do
3970
			swait()
3971
			intensity = intensity - 0.05 * Intensity / Length
3972
			rotM = rotM - 5.0E-4 * Intensity / Length
3973
			hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
3974
			cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
3975
		end
3976
		hum.CameraOffset = Vector3.new(0, 0, 0)
3977
	end))
3978
end
3979
NewInstance = function(instance,parent,properties)
3980
	local inst = Instance.new(instance)
3981
	inst.Parent = parent
3982
	if(properties)then
3983
		for i,v in next, properties do
3984
			pcall(function() inst[i] = v end)
3985
		end
3986
	end
3987
	return inst;
3988
end
3989
function New(Object, Parent, Name, Data)
3990
	local Object = Instance.new(Object)
3991
	for Index, Value in pairs(Data or {}) do
3992
		Object[Index] = Value
3993
	end
3994
	Object.Parent = Parent
3995
	Object.Name = Name
3996
	return Object
3997
end
3998
Uzi = New("Model", char, "Uzi", {})
3999
Handle = New("Part", Uzi, "Handle", {
4000
	BrickColor = BrickColor.new("Gold"),
4001
	Transparency = 1,
4002
	Transparency = 1,
4003
	FormFactor = Enum.FormFactor.Custom,
4004
	Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
4005
	CFrame = CFrame.new(-63.9497833, 3.39759564, 8.0905323, -0.999997377, -1.38907907E-9, 5.60066837E-9, -4.67619166E-10, 0.999989152, 5.95959136E-7, -1.86810212E-9, 1.98648195E-7, -0.999986291),
4006
	CanCollide = false,
4007
	BottomSurface = Enum.SurfaceType.Smooth,
4008
	TopSurface = Enum.SurfaceType.Smooth,
4009
	Color = Color3.new(0.105882, 0.164706, 0.207843)
4010
})
4011
Port = New("Part", Uzi, "Port", {
4012
	BrickColor = BrickColor.new("Dark stone grey"),
4013
	Material = Enum.Material.SmoothPlastic,
4014
	Transparency = 1,
4015
	Transparency = 1,
4016
	FormFactor = Enum.FormFactor.Custom,
4017
	Size = Vector3.new(0.303939581, 0.303939581, 0.514359295),
4018
	CFrame = CFrame.new(-64.0102158, 4.07008171, 7.94762278, -0.258818001, 0.965921998, 7.03767E-9, -0.965913594, -0.258815765, -8.10978804E-7, -2.25573785E-7, -4.02978912E-8, 0.999983191),
4019
	CanCollide = false,
4020
	BackSurface = Enum.SurfaceType.SmoothNoOutlines,
4021
	BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
4022
	FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
4023
	LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
4024
	RightSurface = Enum.SurfaceType.SmoothNoOutlines,
4025
	TopSurface = Enum.SurfaceType.SmoothNoOutlines,
4026
	Color = Color3.new(0.388235, 0.372549, 0.384314)
4027
})
4028
Mesh = New("BlockMesh", Port, "Mesh", {
4029
	Scale = Vector3.new(0.0769230723, 0.538461506, 1)
4030
})
4031
mot = New("Motor", Port, "mot", {
4032
	Part0 = Port,
4033
	Part1 = Handle,
4034
	C0 = CFrame.new(0, 0, 0, -0.258819044, -0.965925932, -5.89169019E-7, 0.965925872, -0.258819073, -1.6708546E-7, 8.90398955E-9, -6.12338397E-7, 1),
4035
	C1 = CFrame.new(0.0604324341, 0.672489882, 0.142884254, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
4036
})
4037
Mag2 = New("Part", Uzi, "Mag2", {
4038
	BrickColor = BrickColor.new("Dark stone grey"),
4039
	Elasticity = 0,
4040
	FormFactor = Enum.FormFactor.Custom,
4041
	Size = Vector3.new(0.303939581, 0.969711781, 0.303939581),
4042
	CFrame = CFrame.new(-63.8785477, 2.57360268, 8.01299381, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490618E-5, 0.999989152, -3.46755522E-4, 0.999986291, -4.34514986E-5, -1.51409104E-5),
4043
	CanCollide = false,
4044
	BottomSurface = Enum.SurfaceType.Smooth,
4045
	TopSurface = Enum.SurfaceType.Smooth,
4046
	Color = Color3.new(0.388235, 0.372549, 0.384314)
4047
})
4048
Mesh = New("BlockMesh", Mag2, "Mesh", {
4049
	Scale = Vector3.new(0.809523821, 1, 0.714285731)
4050
})
4051
mot = New("Motor", Mag2, "mot", {
4052
	Part0 = Mag2,
4053
	Part1 = Handle,
4054
	C0 = CFrame.new(0, 0, 0, -1.51580507E-5, 4.32481829E-5, 1, -3.46759072E-4, 1, -4.32534325E-5, -1, -3.46759742E-4, -1.51430522E-5),
4055
	C1 = CFrame.new(-0.0712356567, -0.824002028, 0.077539444, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
4056
})
4057
Part = New("Part", Uzi, "Part", {
4058
	BrickColor = BrickColor.new("Gold"),
4059
	Elasticity = 0,
4060
	FormFactor = Enum.FormFactor.Symmetric,
4061
	Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
4062
	CFrame = CFrame.new(-63.8792877, 3.47921586, 7.06472969, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490618E-5, 0.999989152, -3.46755522E-4, 0.999986291, -4.34514986E-5, -1.51409104E-5),
4063
	CanCollide = false,
4064
	BottomSurface = Enum.SurfaceType.Smooth,
4065
	TopSurface = Enum.SurfaceType.Smooth,
4066
	Color = Color3.new(0.105882, 0.164706, 0.207843)
4067
})
4068
Mesh = New("BlockMesh", Part, "Mesh", {
4069
	Scale = Vector3.new(0.0476190485, 0.380952388, 0.190476194)
4070
})
4071
mot = New("Motor", Part, "mot", {
4072
	Part0 = Part,
4073
	Part1 = Handle,
4074
	C0 = CFrame.new(0, 0, 0, -1.51580507E-5, 4.32481829E-5, 1, -3.46759072E-4, 1, -4.32534325E-5, -1, -3.46759742E-4, -1.51430522E-5),
4075
	C1 = CFrame.new(-0.0704956055, 0.0816204548, 1.02581644, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
4076
})
4077
AimPart = New("Part", Uzi, "AimPart", {
4078
	BrickColor = BrickColor.new("Gold"),
4079
	Transparency = 1,
4080
	Transparency = 1,
4081
	FormFactor = Enum.FormFactor.Custom,
4082
	Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
4083
	CFrame = CFrame.new(-63.8798447, 4.32250595, 5.97696972, -0.999997377, -1.38856626E-9, 5.60066127E-9, -4.67106354E-10, 0.999989152, 5.95963002E-7, -1.86809501E-9, 1.9865206E-7, -0.999986291),
4084
	CanCollide = false,
4085
	BottomSurface = Enum.SurfaceType.Smooth,
4086
	TopSurface = Enum.SurfaceType.Smooth,
4087
	Color = Color3.new(0.105882, 0.164706, 0.207843)
4088
})
4089
mot = New("Motor", AimPart, "mot", {
4090
	Part0 = AimPart,
4091
	Part1 = Handle,
4092
	C0 = CFrame.new(0, 0, 0, -1, -9.25960919E-10, -3.73438835E-9, -9.25962418E-10, 1, 3.97315489E-7, 3.73438791E-9, 3.97315489E-7, -1),
4093
	C1 = CFrame.new(-0.0699386597, 0.92491889, 2.11359167, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
4094
})
4095
Hole = New("Part", Uzi, "Hole", {
4096
	BrickColor = BrickColor.new("Really Gold"),
4097
	Elasticity = 0,
4098
	FormFactor = Enum.FormFactor.Custom,
4099
	Size = Vector3.new(0.607879162, 0.607879221, 1.51969779),
4100
	CFrame = CFrame.new(-64.0106277, 4.09136534, 7.99518442, 3.04593304E-5, -6.80373148E-7, 0.999997377, -0.999989152, -1.32646619E-5, 3.04581481E-5, 1.36619119E-5, -0.999986291, -6.84514248E-7),
4101
	CanCollide = false,
4102
	BottomSurface = Enum.SurfaceType.Smooth,
4103
	TopSurface = Enum.SurfaceType.Smooth,
4104
	Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
4105
})
4106
Mesh = New("BlockMesh", Hole, "Mesh", {
4107
	Scale = Vector3.new(0.238095239, 1.19047618, 0.0476190485)
4108
})
4109
mot = New("Motor", Hole, "mot", {
4110
	Part0 = Hole,
4111
	Part1 = Handle,
4112
	C0 = CFrame.new(0, 0, 0, 3.04589466E-5, -1, 1.34634383E-5, -6.8224125E-7, -1.34634593E-5, -1, 1, 3.04589375E-5, -6.82651319E-7),
4113
	C1 = CFrame.new(0.0608444214, 0.693777323, 0.0953493118, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
4114
})
4115
NoSight = New("Part", Uzi, "NoSight", {
4116
	BrickColor = BrickColor.new("Gold"),
4117
	Elasticity = 0,
4118
	FormFactor = Enum.FormFactor.Custom,
4119
	Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
4120
	CFrame = CFrame.new(-63.9215851, 4.32565308, 8.6785574, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490618E-5, 0.999989152, -3.46755522E-4, 0.999986291, -4.34514986E-5, -1.51409104E-5),
4121
	CanCollide = false,
4122
	BottomSurface = Enum.SurfaceType.Smooth,
4123
	TopSurface = Enum.SurfaceType.Smooth,
4124
	Color = Color3.new(0.105882, 0.164706, 0.207843)
4125
})
4126
Mesh = New("SpecialMesh", NoSight, "Mesh", {
4127
	Scale = Vector3.new(0.333333343, 0.142857149, 0.095238097),
4128
	MeshType = Enum.MeshType.Wedge
4129
})
4130
mot = New("Motor", NoSight, "mot", {
4131
	Part0 = NoSight,
4132
	Part1 = Handle,
4133
	C0 = CFrame.new(0, 0, 0, -1.51580507E-5, 4.32481829E-5, 1, -3.46759072E-4, 1, -4.32534325E-5, -1, -3.46759742E-4, -1.51430522E-5),
4134
	C1 = CFrame.new(-0.0281982422, 0.928067923, -0.588032722, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
4135
})
4136
NoSight = New("Part", Uzi, "NoSight", {
4137
	BrickColor = BrickColor.new("Gold"),
4138
	Elasticity = 0,
4139
	FormFactor = Enum.FormFactor.Custom,
4140
	Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
4141
	CFrame = CFrame.new(-63.8792877, 4.27408314, 8.6785574, -0.999997377, 3.7727732E-4, 4.80012168E-5, -3.77270597E-4, -0.999989152, 5.5595694E-5, 4.8025533E-5, 5.59747241E-5, 0.999986291),
4142
	CanCollide = false,
4143
	BottomSurface = Enum.SurfaceType.Smooth,
4144
	TopSurface = Enum.SurfaceType.Smooth,
4145
	Color = Color3.new(0.105882, 0.164706, 0.207843)
4146
})
4147
Mesh = New("SpecialMesh", NoSight, "Mesh", {
4148
	Scale = Vector3.new(0.380952358, 0.190476194, 0.333333343),
4149
	MeshType = Enum.MeshType.Torso
4150
})
4151
mot = New("Motor", NoSight, "mot", {
4152
	Part0 = NoSight,
4153
	Part1 = Handle,
4154
	C0 = CFrame.new(0, 0, 0, -1, -3.77275166E-4, 4.80242488E-5, 3.77277844E-4, -1, 5.57768326E-5, 4.80032068E-5, 5.57949534E-5, 1),
4155
	C1 = CFrame.new(-0.0704956055, 0.876497507, -0.588032722, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
4156
})
4157
NoSight = New("Part", Uzi, "NoSight", {
4158
	BrickColor = BrickColor.new("White"),
4159
	Transparency = 1,
4160
	Transparency = 1,
4161
	Elasticity = 0,
4162
	FormFactor = Enum.FormFactor.Custom,
4163
	Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
4164
	CFrame = CFrame.new(-63.8792877, 4.33158779, 9.11930084, 0.999997377, -3.77276359E-4, -1.73402132E-5, 3.77273274E-4, 0.999989152, 5.57149033E-5, 1.73151166E-5, -5.61185843E-5, 0.999986291),
4165
	CanCollide = false,
4166
	BottomSurface = Enum.SurfaceType.Smooth,
4167
	TopSurface = Enum.SurfaceType.Smooth,
4168
	Color = Color3.new(0.94902, 0.952941, 0.952941)
4169
})
4170
lenspart = New("IntValue", NoSight, "lenspart", {})
4171
Mesh = New("BlockMesh", NoSight, "Mesh", {
4172
	Scale = Vector3.new(0.095238097, 0.0476190485, 0.0476190485)
4173
})
4174
mot = New("Motor", NoSight, "mot", {
4175
	Part0 = NoSight,
4176
	Part1 = Handle,
4177
	C0 = CFrame.new(0, 0, 0, 1, 3.77277844E-4, 1.73172939E-5, -3.77276883E-4, 1, -5.59206928E-5, -1.73383924E-5, 5.59141627E-5, 1),
4178
	C1 = CFrame.new(-0.0704956055, 0.934002638, -1.02878189, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
4179
})
4180
NoSight = New("Part", Uzi, "NoSight", {
4181
	BrickColor = BrickColor.new("Gold"),
4182
	Elasticity = 0,
4183
	FormFactor = Enum.FormFactor.Custom,
4184
	Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
4185
	CFrame = CFrame.new(-63.8792877, 4.29654217, 9.19813633, 4.20435099E-4, -1.53568108E-5, 0.999997318, -0.999989092, -4.51352062E-5, 4.20430006E-4, 4.55259251E-5, -0.999986291, -1.53795154E-5),
4186
	CanCollide = false,
4187
	BottomSurface = Enum.SurfaceType.Smooth,
4188
	TopSurface = Enum.SurfaceType.Smooth,
4189
	Color = Color3.new(0.105882, 0.164706, 0.207843)
4190
})
4191
Mesh = New("BlockMesh", NoSight, "Mesh", {
4192
	Scale = Vector3.new(0.285714269, 0.476190478, 0.095238097)
4193
})
4194
mot = New("Motor", NoSight, "mot", {
4195
	Part0 = NoSight,
4196
	Part1 = Handle,
4197
	C0 = CFrame.new(0, 0, 0, 4.20435739E-4, -0.99999994, 4.53278881E-5, -1.53587171E-5, -4.53343491E-5, -1, 0.99999994, 4.20435041E-4, -1.53777764E-5),
4198
	C1 = CFrame.new(-0.0704956055, 0.898957014, -1.10761929, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
4199
})
4200
NoSight = New("Part", Uzi, "NoSight", {
4201
	BrickColor = BrickColor.new("Gold"),
4202
	Elasticity = 0,
4203
	FormFactor = Enum.FormFactor.Custom,
4204
	Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
4205
	CFrame = CFrame.new(-63.8355064, 4.32565308, 8.6785574, 1.51598751E-5, -4.07793617E-4, 0.999997377, -4.30490618E-5, 0.999989152, 4.07790008E-4, -0.999986291, -4.34524227E-5, 1.51382555E-5),
4206
	CanCollide = false,
4207
	BottomSurface = Enum.SurfaceType.Smooth,
4208
	TopSurface = Enum.SurfaceType.Smooth,
4209
	Color = Color3.new(0.105882, 0.164706, 0.207843)
4210
})
4211
Mesh = New("SpecialMesh", NoSight, "Mesh", {
4212
	Scale = Vector3.new(0.333333343, 0.142857149, 0.095238097),
4213
	MeshType = Enum.MeshType.Wedge
4214
})
4215
mot = New("Motor", NoSight, "mot", {
4216
	Part0 = NoSight,
4217
	Part1 = Handle,
4218
	C0 = CFrame.new(0, 0, 0, 1.51580489E-5, -4.32481829E-5, -1, -4.07794229E-4, 1, -4.32543566E-5, 1, 4.07794898E-4, 1.51404101E-5),
4219
	C1 = CFrame.new(-0.114276886, 0.928067923, -0.588032722, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
4220
})
4221
NoSight = New("Part", Uzi, "NoSight", {
4222
	BrickColor = BrickColor.new("Gold"),
4223
	Elasticity = 0,
4224
	FormFactor = Enum.FormFactor.Custom,
4225
	Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
4226
	CFrame = CFrame.new(-63.8792877, 4.33177757, 7.20867538, 0.999997318, 4.20433673E-4, 1.73239296E-5, 4.2042954E-4, -0.999989152, -1.25467186E-5, 1.73145636E-5, 1.29512719E-5, -0.999986291),
4227
	CanCollide = false,
4228
	BottomSurface = Enum.SurfaceType.Smooth,
4229
	TopSurface = Enum.SurfaceType.Smooth,
4230
	Color = Color3.new(0.105882, 0.164706, 0.207843)
4231
})
4232
Mesh = New("SpecialMesh", NoSight, "Mesh", {
4233
	Scale = Vector3.new(0.0868398845, 0.0868398845, 0.0868398845),
4234
	MeshId = "http://www.roblox.com/asset/?id=3270017",
4235
	MeshType = Enum.MeshType.FileMesh
4236
})
4237
mot = New("Motor", NoSight, "mot", {
4238
	Part0 = NoSight,
4239
	Part1 = Handle,
4240
	C0 = CFrame.new(0, 0, 0, 0.99999994, 4.20434575E-4, 1.731675E-5, 4.20434313E-4, -1, 1.27527892E-5, 1.73221088E-5, -1.27455087E-5, -1),
4241
	C1 = CFrame.new(-0.0704956055, 0.934191465, 0.881869316, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
4242
})
4243
NoSight = New("Part", Uzi, "NoSight", {
4244
	BrickColor = BrickColor.new("Gold"),
4245
	Elasticity = 0,
4246
	FormFactor = Enum.FormFactor.Plate,
4247
	Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),
4248
	CFrame = CFrame.new(-63.9950485, 4.25275517, 7.24577427, 3.16243502E-4, -0.999997318, -1.53725232E-5, -0.999989152, -3.16239311E-4, -4.30490618E-5, 4.34413814E-5, 1.53898236E-5, -0.999986291),
4249
	CanCollide = false,
4250
	BottomSurface = Enum.SurfaceType.Smooth,
4251
	TopSurface = Enum.SurfaceType.Smooth,
4252
	Color = Color3.new(0.105882, 0.164706, 0.207843)
4253
})
4254
Mesh = New("CylinderMesh", NoSight, "Mesh", {
4255
	Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194)
4256
})
4257
mot = New("Motor", NoSight, "mot", {
4258
	Part0 = NoSight,
4259
	Part1 = Handle,
4260
	C0 = CFrame.new(0, 0, 0, 3.16243852E-4, -1, 4.32433153E-5, -0.99999994, -3.16243211E-4, 1.53881065E-5, -1.53744295E-5, -4.32481829E-5, -1),
4261
	C1 = CFrame.new(0.0452651978, 0.855168581, 0.844769955, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
4262
})
4263
NoSight = New("Part", Uzi, "NoSight", {
4264
	BrickColor = BrickColor.new("Gold"),
4265
	Elasticity = 0,
4266
	FormFactor = Enum.FormFactor.Plate,
4267
	Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),
4268
	CFrame = CFrame.new(-63.9950485, 4.25256538, 9.19813633, 3.16243502E-4, -0.999997318, -1.53725232E-5, -0.999989152, -3.16239311E-4, -4.30490618E-5, 4.34413814E-5, 1.53898236E-5, -0.999986291),
4269
	CanCollide = false,
4270
	BottomSurface = Enum.SurfaceType.Smooth,
4271
	TopSurface = Enum.SurfaceType.Smooth,
4272
	Color = Color3.new(0.105882, 0.164706, 0.207843)
4273
})
4274
Mesh = New("CylinderMesh", NoSight, "Mesh", {
4275
	Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194)
4276
})
4277
mot = New("Motor", NoSight, "mot", {
4278
	Part0 = NoSight,
4279
	Part1 = Handle,
4280
	C0 = CFrame.new(0, 0, 0, 3.16243852E-4, -1, 4.32433153E-5, -0.99999994, -3.16243211E-4, 1.53881065E-5, -1.53744295E-5, -4.32481829E-5, -1),
4281
	C1 = CFrame.new(0.0452651978, 0.854979753, -1.10761929, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
4282
})
4283
Part = New("Part", Uzi, "Part", {
4284
	BrickColor = BrickColor.new("Gold"),
4285
	Elasticity = 0,
4286
	FormFactor = Enum.FormFactor.Symmetric,
4287
	Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
4288
	CFrame = CFrame.new(-63.8792877, 3.84094381, 7.38972139, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490618E-5, 0.999989152, -3.46755522E-4, 0.999986291, -4.34514986E-5, -1.51409104E-5),
4289
	CanCollide = false,
4290
	BottomSurface = Enum.SurfaceType.Smooth,
4291
	TopSurface = Enum.SurfaceType.Smooth,
4292
	Color = Color3.new(0.105882, 0.164706, 0.207843)
4293
})
4294
Mesh = New("BlockMesh", Part, "Mesh", {
4295
	Scale = Vector3.new(0.571428597, 0.095238097, 0.190476194)
4296
})
4297
mot = New("Motor", Part, "mot", {
4298
	Part0 = Part,
4299
	Part1 = Handle,
4300
	C0 = CFrame.new(0, 0, 0, -1.51580507E-5, 4.32481829E-5, 1, -3.46759072E-4, 1, -4.32534325E-5, -1, -3.46759742E-4, -1.51430522E-5),
4301
	C1 = CFrame.new(-0.0704956055, 0.443352461, 0.700820446, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
4302
})
4303
Part = New("Part", Uzi, "Part", {
4304
	BrickColor = BrickColor.new("Gold"),
4305
	Elasticity = 0,
4306
	FormFactor = Enum.FormFactor.Symmetric,
4307
	Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
4308
	CFrame = CFrame.new(-63.8792877, 3.4792161, 6.99127293, -0.999997377, 3.7727732E-4, 4.80012168E-5, -3.77270597E-4, -0.999989152, 5.5595694E-5, 4.8025533E-5, 5.59747241E-5, 0.999986291),
4309
	CanCollide = false,
4310
	BottomSurface = Enum.SurfaceType.Smooth,
4311
	TopSurface = Enum.SurfaceType.Smooth,
4312
	Color = Color3.new(0.105882, 0.164706, 0.207843)
4313
})
4314
Mesh = New("SpecialMesh", Part, "Mesh", {
4315
	Scale = Vector3.new(0.190476194, 0.380952388, 0.0476190485),
4316
	MeshType = Enum.MeshType.Wedge
4317
})
4318
mot = New("Motor", Part, "mot", {
4319
	Part0 = Part,
4320
	Part1 = Handle,
4321
	C0 = CFrame.new(0, 0, 0, -1, -3.77275166E-4, 4.80242488E-5, 3.77277844E-4, -1, 5.57768326E-5, 4.80032068E-5, 5.57949534E-5, 1),
4322
	C1 = CFrame.new(-0.0704956055, 0.0816206932, 1.09927416, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
4323
})
4324
Part = New("Part", Uzi, "Part", {
4325
	BrickColor = BrickColor.new("Gold"),
4326
	Elasticity = 0,
4327
	FormFactor = Enum.FormFactor.Symmetric,
4328
	Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
4329
	CFrame = CFrame.new(-63.8792877, 4.10843039, 9.70547295, 4.20435099E-4, -1.53568108E-5, 0.999997318, -0.999989092, -4.51352062E-5, 4.20430006E-4, 4.55259251E-5, -0.999986291, -1.53795154E-5),
4330
	CanCollide = false,
4331
	BottomSurface = Enum.SurfaceType.Smooth,
4332
	TopSurface = Enum.SurfaceType.Smooth,
4333
	Color = Color3.new(0.105882, 0.164706, 0.207843)
4334
})
4335
Mesh = New("CylinderMesh", Part, "Mesh", {
4336
	Scale = Vector3.new(0.095238097, 0.285714298, 0.095238097)
4337
})
4338
mot = New("Motor", Part, "mot", {
4339
	Part0 = Part,
4340
	Part1 = Handle,
4341
	C0 = CFrame.new(0, 0, 0, 4.20435739E-4, -0.99999994, 4.53278881E-5, -1.53587171E-5, -4.53343491E-5, -1, 0.99999994, 4.20435041E-4, -1.53777764E-5),
4342
	C1 = CFrame.new(-0.0704956055, 0.710843325, -1.61496258, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
4343
})
4344
A1 = New("Part", Uzi, "A1", {
4345
	BrickColor = BrickColor.new("Gold"),
4346
	Elasticity = 0,
4347
	FormFactor = Enum.FormFactor.Custom,
4348
	Size = Vector3.new(0.623076081, 0.729454994, 1.51969779),
4349
	CFrame = CFrame.new(-64.0106277, 4.09897423, 7.99518442, 3.04593304E-5, -6.80373148E-7, 0.999997377, -0.999989152, -1.32646619E-5, 3.04581481E-5, 1.36619119E-5, -0.999986291, -6.84514248E-7),
4350
	CanCollide = false,
4351
	BottomSurface = Enum.SurfaceType.Smooth,
4352
	TopSurface = Enum.SurfaceType.Smooth,
4353
	Color = Color3.new(0.105882, 0.164706, 0.207843)
4354
})
4355
Mesh = New("BlockMesh", A1, "Mesh", {
4356
	Scale = Vector3.new(0.238000005, 1, 0.0480000004)
4357
})
4358
mot = New("Motor", A1, "mot", {
4359
	Part0 = A1,
4360
	Part1 = Handle,
4361
	C0 = CFrame.new(0, 0, 0, 3.04589466E-5, -1, 1.34634383E-5, -6.8224125E-7, -1.34634593E-5, -1, 1, 3.04589375E-5, -6.82651319E-7),
4362
	C1 = CFrame.new(0.0608444214, 0.701386213, 0.0953493118, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
4363
})
4364
Cylinder1 = New("Part", Uzi, "Cylinder", {
4365
	BrickColor = BrickColor.new("Really Gold"),
4366
	Elasticity = 0,
4367
	FormFactor = Enum.FormFactor.Plate,
4368
	Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),
4369
	CFrame = CFrame.new(-63.8792877, 4.10842991, 9.93623352, 3.34118115E-4, 1.53568108E-5, -0.999997318, -0.999989092, 4.51352062E-5, -3.34113749E-4, 4.5527253E-5, 0.999986291, 1.53755864E-5),
4370
	CanCollide = false,
4371
	BottomSurface = Enum.SurfaceType.Smooth,
4372
	TopSurface = Enum.SurfaceType.Smooth,
4373
	Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
4374
})
4375
Mesh = New("CylinderMesh", Cylinder1, "Mesh", {
4376
	Offset = Vector3.new(0, -0.0185714271, 0),
4377
	Scale = Vector3.new(0.0666666627, 0.0476190485, 0.0666666627)
4378
})
4379
mot = New("Motor", Cylinder1, "mot", {
4380
	Part0 = Cylinder1,
4381
	Part1 = Handle,
4382
	C0 = CFrame.new(0, 0, 0, 3.34118522E-4, -0.99999994, 4.53292159E-5, 1.53587171E-5, 4.53343491E-5, 1, -0.99999994, -3.34117853E-4, 1.53738638E-5),
4383
	C1 = CFrame.new(-0.0704956055, 0.710842848, -1.84572601, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
4384
})
4385
Mag1 = New("Part", Uzi, "Mag1", {
4386
	BrickColor = BrickColor.new("Dark stone grey"),
4387
	Elasticity = 0,
4388
	FormFactor = Enum.FormFactor.Custom,
4389
	Size = Vector3.new(0.303939581, 0.723665655, 0.303939581),
4390
	CFrame = CFrame.new(-63.8785477, 2.8062222, 8.01299381, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490618E-5, 0.999989152, -3.46755522E-4, 0.999986291, -4.34514986E-5, -1.51409104E-5),
4391
	CanCollide = false,
4392
	BottomSurface = Enum.SurfaceType.Smooth,
4393
	TopSurface = Enum.SurfaceType.Smooth,
4394
	Color = Color3.new(0.388235, 0.372549, 0.384314)
4395
})
4396
Mesh = New("BlockMesh", Mag1, "Mesh", {
4397
	Scale = Vector3.new(0.809523821, 1, 0.714285731)
4398
})
4399
mot = New("Motor", Mag1, "mot", {
4400
	Part0 = Mag1,
4401
	Part1 = Handle,
4402
	C0 = CFrame.new(0, 0, 0, -1.51580507E-5, 4.32481829E-5, 1, -3.46759072E-4, 1, -4.32534325E-5, -1, -3.46759742E-4, -1.51430522E-5),
4403
	C1 = CFrame.new(-0.0712356567, -0.591379881, 0.077539444, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
4404
})
4405
Part = New("Part", Uzi, "Part", {
4406
	BrickColor = BrickColor.new("Gold"),
4407
	Elasticity = 0,
4408
	FormFactor = Enum.FormFactor.Symmetric,
4409
	Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
4410
	CFrame = CFrame.new(-63.8792839, 3.96399546, 8.94571686, 4.20436263E-4, -1.53869969E-5, 0.999994516, -0.999985397, -4.49496983E-5, 4.20421362E-4, 4.57110073E-5, -0.999980092, -1.53492692E-5),
4411
	CanCollide = false,
4412
	BottomSurface = Enum.SurfaceType.Smooth,
4413
	TopSurface = Enum.SurfaceType.Smooth,
4414
	Color = Color3.new(0.105882, 0.164706, 0.207843)
4415
})
4416
Mesh = New("BlockMesh", Part, "Mesh", {
4417
	Scale = Vector3.new(0.095238097, 0.523809552, 0.238095239)
4418
})
4419
Weld = New("ManualWeld", Part, "Weld", {
4420
	Part0 = Part,
4421
	Part1 = Port,
4422
	C0 = CFrame.new(-0.759848893, 0.759848893, 0.759848893, -1, 0, 0, 0, 0, 1, 0, 1, 0),
4423
	C1 = CFrame.new(-0.862224281, 0.690827668, 0.238218009, -0.965815187, -0.259224743, 4.81826173E-5, -0.259224653, 0.965815544, -3.01207638E-6, -4.59400871E-5, -1.53690817E-5, -0.999996901)
4424
})
4425
mot = New("Motor", Part, "mot", {
4426
	Part0 = Part,
4427
	Part1 = Handle,
4428
	C0 = CFrame.new(0, 0, 0, 4.20408818E-4, -0.99999994, 4.51425221E-5, -1.53889487E-5, -4.51489977E-5, -1, 1, 4.20408091E-4, -1.5407928E-5),
4429
	C1 = CFrame.new(-0.0704994202, 0.566405296, -0.855195999, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
4430
})
4431
Part = New("Part", Uzi, "Part", {
4432
	BrickColor = BrickColor.new("Gold"),
4433
	Elasticity = 0,
4434
	FormFactor = Enum.FormFactor.Symmetric,
4435
	Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
4436
	CFrame = CFrame.new(-63.8792877, 4.07189083, 8.22297764, 3.34118115E-4, 1.53568108E-5, -0.999997318, -0.999989092, 4.51352062E-5, -3.34113749E-4, 4.5527253E-5, 0.999986291, 1.53755864E-5),
4437
	CanCollide = false,
4438
	BottomSurface = Enum.SurfaceType.Smooth,
4439
	TopSurface = Enum.SurfaceType.Smooth,
4440
	Color = Color3.new(0.105882, 0.164706, 0.207843)
4441
})
4442
Mesh = New("BlockMesh", Part, "Mesh", {
4443
	Scale = Vector3.new(0.238095239, 1.47619045, 0.190476194)
4444
})
4445
mot = New("Motor", Part, "mot", {
4446
	Part0 = Part,
4447
	Part1 = Handle,
4448
	C0 = CFrame.new(0, 0, 0, 3.34118522E-4, -0.99999994, 4.53292159E-5, 1.53587171E-5, 4.53343491E-5, 1, -0.99999994, -3.34117853E-4, 1.53738638E-5),
4449
	C1 = CFrame.new(-0.0704956055, 0.674302816, -0.132447243, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
4450
})
4451
Part = New("Part", Uzi, "Part", {
4452
	BrickColor = BrickColor.new("Gold"),
4453
	Elasticity = 0,
4454
	FormFactor = Enum.FormFactor.Symmetric,
4455
	Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
4456
	CFrame = CFrame.new(-63.8792877, 3.89102483, 8.94586086, 4.20435099E-4, -1.53568108E-5, 0.999997318, -0.999989092, -4.51352062E-5, 4.20430006E-4, 4.55259251E-5, -0.999986291, -1.53795154E-5),
4457
	CanCollide = false,
4458
	BottomSurface = Enum.SurfaceType.Smooth,
4459
	TopSurface = Enum.SurfaceType.Smooth,
4460
	Color = Color3.new(0.105882, 0.164706, 0.207843)
4461
})
4462
Mesh = New("CylinderMesh", Part, "Mesh", {
4463
	Scale = Vector3.new(0.285714298, 0.523809552, 0.238095239)
4464
})
4465
Weld = New("ManualWeld", Part, "Weld", {
4466
	Part0 = Part,
4467
	Part1 = Port,
4468
	C0 = CFrame.new(-0.759848893, 0.759848893, 0.759848893, -1, 0, 0, 0, 0, 1, 0, 1, 0),
4469
	C1 = CFrame.new(-0.791742086, 0.70971489, 0.238357142, -0.965815187, -0.259224743, 4.81826173E-5, -0.259224653, 0.965815544, -3.01207638E-6, -4.59400871E-5, -1.53690817E-5, -0.999996901)
4470
})
4471
mot = New("Motor", Part, "mot", {
4472
	Part0 = Part,
4473
	Part1 = Handle,
4474
	C0 = CFrame.new(0, 0, 0, 4.20435739E-4, -0.99999994, 4.53278881E-5, -1.53587171E-5, -4.53343491E-5, -1, 0.99999994, 4.20435041E-4, -1.53777764E-5),
4475
	C1 = CFrame.new(-0.0704956055, 0.493435144, -0.855340004, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
4476
})
4477
Part = New("Part", Uzi, "Part", {
4478
	BrickColor = BrickColor.new("Gold"),
4479
	Elasticity = 0,
4480
	FormFactor = Enum.FormFactor.Symmetric,
4481
	Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
4482
	CFrame = CFrame.new(-63.8792877, 3.38516831, 8.00556946, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490618E-5, 0.999989152, -3.46755522E-4, 0.999986291, -4.34514986E-5, -1.51409104E-5),
4483
	CanCollide = false,
4484
	BottomSurface = Enum.SurfaceType.Smooth,
4485
	TopSurface = Enum.SurfaceType.Smooth,
4486
	Color = Color3.new(0.105882, 0.164706, 0.207843)
4487
})
4488
Mesh = New("BlockMesh", Part, "Mesh", {
4489
	Scale = Vector3.new(0.238095239, 0.476190478, 0.190476194)
4490
})
4491
mot = New("Motor", Part, "mot", {
4492
	Part0 = Part,
4493
	Part1 = Handle,
4494
	C0 = CFrame.new(0, 0, 0, -1.51580507E-5, 4.32481829E-5, 1, -3.46759072E-4, 1, -4.32534325E-5, -1, -3.46759742E-4, -1.51430522E-5),
4495
	C1 = CFrame.new(-0.0704956055, -0.0124275684, 0.0849637985, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
4496
})
4497
Part = New("Part", Uzi, "Part", {
4498
	BrickColor = BrickColor.new("Gold"),
4499
	Elasticity = 0,
4500
	FormFactor = Enum.FormFactor.Symmetric,
4501
	Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
4502
	CFrame = CFrame.new(-63.8792877, 3.13159156, 7.78817034, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490618E-5, 0.999989152, -3.46755522E-4, 0.999986291, -4.34514986E-5, -1.51409104E-5),
4503
	CanCollide = false,
4504
	BottomSurface = Enum.SurfaceType.Smooth,
4505
	TopSurface = Enum.SurfaceType.Smooth,
4506
	Color = Color3.new(0.105882, 0.164706, 0.207843)
4507
})
4508
Mesh = New("BlockMesh", Part, "Mesh", {
4509
	Scale = Vector3.new(0.0476190485, 0.142857149, 0.190476194)
4510
})
4511
mot = New("Motor", Part, "mot", {
4512
	Part0 = Part,
4513
	Part1 = Handle,
4514
	C0 = CFrame.new(0, 0, 0, -1.51580507E-5, 4.32481829E-5, 1, -3.46759072E-4, 1, -4.32534325E-5, -1, -3.46759742E-4, -1.51430522E-5),
4515
	C1 = CFrame.new(-0.0704956055, -0.266007185, 0.302366257, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
4516
})
4517
Part = New("Part", Uzi, "Part", {
4518
	BrickColor = BrickColor.new("Gold"),
4519
	Elasticity = 0,
4520
	FormFactor = Enum.FormFactor.Symmetric,
4521
	Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
4522
	CFrame = CFrame.new(-63.8792877, 3.81812668, 8.18587875, 3.34118115E-4, 1.53568108E-5, -0.999997318, -0.999989092, 4.51352062E-5, -3.34113749E-4, 4.5527253E-5, 0.999986291, 1.53755864E-5),
4523
	CanCollide = false,
4524
	BottomSurface = Enum.SurfaceType.Smooth,
4525
	TopSurface = Enum.SurfaceType.Smooth,
4526
	Color = Color3.new(0.105882, 0.164706, 0.207843)
4527
})
4528
Mesh = New("BlockMesh", Part, "Mesh", {
4529
	Scale = Vector3.new(0.095238097, 0.476190478, 0.190476194)
4530
})
4531
mot = New("Motor", Part, "mot", {
4532
	Part0 = Part,
4533
	Part1 = Handle,
4534
	C0 = CFrame.new(0, 0, 0, 3.34118522E-4, -0.99999994, 4.53292159E-5, 1.53587171E-5, 4.53343491E-5, 1, -0.99999994, -3.34117853E-4, 1.53738638E-5),
4535
	C1 = CFrame.new(-0.0704956055, 0.420535564, -0.0953474045, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
4536
})
4537
Part = New("Part", Uzi, "Part", {
4538
	BrickColor = BrickColor.new("Gold"),
4539
	Elasticity = 0,
4540
	FormFactor = Enum.FormFactor.Symmetric,
4541
	Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
4542
	CFrame = CFrame.new(-63.8792877, 3.57790494, 7.28955317, 2.37775297E-4, -2.39374975E-4, -0.999997377, -0.707075596, 0.707122624, -3.37392528E-4, 0.707120895, 0.707073271, -1.11602742E-6),
4543
	CanCollide = false,
4544
	BottomSurface = Enum.SurfaceType.Smooth,
4545
	TopSurface = Enum.SurfaceType.Smooth,
4546
	Color = Color3.new(0.105882, 0.164706, 0.207843)
4547
})
4548
Mesh = New("BlockMesh", Part, "Mesh", {
4549
	Scale = Vector3.new(0.0476190485, 0.428571433, 0.095238097)
4550
})
4551
mot = New("Motor", Part, "mot", {
4552
	Part0 = Part,
4553
	Part1 = Handle,
4554
	C0 = CFrame.new(0, 0, 0, 2.37776927E-4, -0.707083166, 0.707130432, -2.39373941E-4, 0.707130432, 0.707083166, -1, -3.37396661E-4, -1.1179759E-6),
4555
	C1 = CFrame.new(-0.0704956055, 0.180310726, 0.800990105, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
4556
})
4557
Part = New("Part", Uzi, "Part", {
4558
	BrickColor = BrickColor.new("Gold"),
4559
	Elasticity = 0,
4560
	FormFactor = Enum.FormFactor.Symmetric,
4561
	Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
4562
	CFrame = CFrame.new(-63.8792877, 3.91217613, 7.10108757, 1.53677556E-5, 0.999997318, -3.44614644E-4, 5.5595694E-5, 3.44610075E-4, 0.999989152, 0.999986291, -1.53906112E-5, -5.59875407E-5),
4563
	CanCollide = false,
4564
	BottomSurface = Enum.SurfaceType.Smooth,
4565
	TopSurface = Enum.SurfaceType.Smooth,
4566
	Color = Color3.new(0.105882, 0.164706, 0.207843)
4567
})
4568
Mesh = New("CylinderMesh", Part, "Mesh", {
4569
	Scale = Vector3.new(0.190476194, 0.190476194, 0.190476194)
4570
})
4571
mot = New("Motor", Part, "mot", {
4572
	Part0 = Part,
4573
	Part1 = Handle,
4574
	C0 = CFrame.new(0, 0, 0, 1.53696619E-5, 5.57949534E-5, 1, 0.99999994, 3.44614265E-4, -1.53888886E-5, -3.4461508E-4, 1, -5.57896492E-5),
4575
	C1 = CFrame.new(-0.0704956055, 0.514585495, 0.989458561, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
4576
})
4577
Part = New("Part", Uzi, "Part", {
4578
	BrickColor = BrickColor.new("Gold"),
4579
	Elasticity = 0,
4580
	FormFactor = Enum.FormFactor.Symmetric,
4581
	Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
4582
	CFrame = CFrame.new(-63.8792877, 3.49313116, 7.78817034, -0.999997318, -4.58751165E-5, 4.07794083E-4, -4.07787855E-4, -4.30788677E-5, -0.999989152, 4.58960603E-5, -0.999986291, 4.3457334E-5),
4583
	CanCollide = false,
4584
	BottomSurface = Enum.SurfaceType.Smooth,
4585
	TopSurface = Enum.SurfaceType.Smooth,
4586
	Color = Color3.new(0.105882, 0.164706, 0.207843)
4587
})
4588
Mesh = New("SpecialMesh", Part, "Mesh", {
4589
	Scale = Vector3.new(0.190476194, 0.0476190485, 0.333333343),
4590
	MeshType = Enum.MeshType.Wedge
4591
})
4592
mot = New("Motor", Part, "mot", {
4593
	Part0 = Part,
4594
	Part1 = Handle,
4595
	C0 = CFrame.new(0, 0, 0, -0.99999994, -4.07792744E-4, 4.58947434E-5, -4.58770992E-5, -4.32779889E-5, -1, 4.07794694E-4, -1, 4.32592715E-5),
4596
	C1 = CFrame.new(-0.0704956055, 0.0955364704, 0.302366257, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
4597
})
4598
Part = New("Part", Uzi, "Part", {
4599
	BrickColor = BrickColor.new("Gold"),
4600
	Elasticity = 0,
4601
	FormFactor = Enum.FormFactor.Symmetric,
4602
	Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
4603
	CFrame = CFrame.new(-63.8792877, 3.81812716, 7.78816938, 0.999997377, 7.62029813E-5, -4.07784712E-4, 4.0778832E-4, -1.04068669E-4, 0.999989092, 7.61557822E-5, -0.999986291, -1.0449675E-4),
4604
	CanCollide = false,
4605
	BottomSurface = Enum.SurfaceType.Smooth,
4606
	TopSurface = Enum.SurfaceType.Smooth,
4607
	Color = Color3.new(0.105882, 0.164706, 0.207843)
4608
})
4609
Mesh = New("SpecialMesh", Part, "Mesh", {
4610
	Scale = Vector3.new(0.190476194, 0.0476190485, 0.095238097),
4611
	MeshType = Enum.MeshType.Wedge
4612
})
4613
mot = New("Motor", Part, "mot", {
4614
	Part0 = Part,
4615
	Part1 = Handle,
4616
	C0 = CFrame.new(0, 0, 0, 1, 4.07793239E-4, 7.61587726E-5, 7.62013078E-5, -1.04268453E-4, -1, -4.07785323E-4, 0.99999994, -1.04299521E-4),
4617
	C1 = CFrame.new(-0.0704956055, 0.420535803, 0.30236721, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
4618
})
4619
Part = New("Part", Uzi, "Part", {
4620
	BrickColor = BrickColor.new("Gold"),
4621
	Elasticity = 0,
4622
	FormFactor = Enum.FormFactor.Symmetric,
4623
	Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
4624
	CFrame = CFrame.new(-63.8792877, 4.10843039, 9.41535473, 4.20435099E-4, -1.53568108E-5, 0.999997318, -0.999989092, -4.51352062E-5, 4.20430006E-4, 4.55259251E-5, -0.999986291, -1.53795154E-5),
4625
	CanCollide = false,
4626
	BottomSurface = Enum.SurfaceType.Smooth,
4627
	TopSurface = Enum.SurfaceType.Smooth,
4628
	Color = Color3.new(0.105882, 0.164706, 0.207843)
4629
})
4630
Mesh = New("CylinderMesh", Part, "Mesh", {
4631
	Scale = Vector3.new(0.142857149, 0.095238097, 0.142857149)
4632
})
4633
mot = New("Motor", Part, "mot", {
4634
	Part0 = Part,
4635
	Part1 = Handle,
4636
	C0 = CFrame.new(0, 0, 0, 4.20435739E-4, -0.99999994, 4.53278881E-5, -1.53587171E-5, -4.53343491E-5, -1, 0.99999994, 4.20435041E-4, -1.53777764E-5),
4637
	C1 = CFrame.new(-0.0704956055, 0.710843325, -1.32484055, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
4638
})
4639
Block = New("Part", Uzi, "Block", {
4640
	BrickColor = BrickColor.new("Gold"),
4641
	Elasticity = 0,
4642
	FormFactor = Enum.FormFactor.Plate,
4643
	Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),
4644
	CFrame = CFrame.new(-63.8792877, 3.673805, 8.25339222, -3.23260669E-4, 2.16992383E-4, -0.999997377, 0.866039515, -0.499953777, -3.88442742E-4, -0.499952704, -0.866036952, -2.63046823E-5),
4645
	CanCollide = false,
4646
	BottomSurface = Enum.SurfaceType.Smooth,
4647
	TopSurface = Enum.SurfaceType.Smooth,
4648
	Color = Color3.new(0.105882, 0.164706, 0.207843)
4649
})
4650
Mesh = New("BlockMesh", Block, "Mesh", {
4651
	Scale = Vector3.new(0.142857149, 0.0952381045, 0.0476190485)
4652
})
4653
mot = New("Motor", Block, "mot", {
4654
	Part0 = Block,
4655
	Part1 = Handle,
4656
	C0 = CFrame.new(0, 0, 0, -3.23262066E-4, 0.866048813, -0.499959379, 2.16991102E-4, -0.49995935, -0.866048872, -1, -3.88447457E-4, -2.63069869E-5),
4657
	C1 = CFrame.new(-0.0704956055, 0.276212454, -0.162861824, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
4658
})
4659
NoSight = New("Part", Uzi, "NoSight", {
4660
	BrickColor = BrickColor.new("Gold"),
4661
	Elasticity = 0,
4662
	FormFactor = Enum.FormFactor.Plate,
4663
	Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),
4664
	CFrame = CFrame.new(-63.7637138, 4.25275517, 7.24577427, 3.16243502E-4, -0.999997318, -1.53725232E-5, -0.999989152, -3.16239311E-4, -4.30490618E-5, 4.34413814E-5, 1.53898236E-5, -0.999986291),
4665
	CanCollide = false,
4666
	BottomSurface = Enum.SurfaceType.Smooth,
4667
	TopSurface = Enum.SurfaceType.Smooth,
4668
	Color = Color3.new(0.105882, 0.164706, 0.207843)
4669
})
4670
Mesh = New("CylinderMesh", NoSight, "Mesh", {
4671
	Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194)
4672
})
4673
mot = New("Motor", NoSight, "mot", {
4674
	Part0 = NoSight,
4675
	Part1 = Handle,
4676
	C0 = CFrame.new(0, 0, 0, 3.16243852E-4, -1, 4.32433153E-5, -0.99999994, -3.16243211E-4, 1.53881065E-5, -1.53744295E-5, -4.32481829E-5, -1),
4677
	C1 = CFrame.new(-0.186069489, 0.855168581, 0.844769955, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
4678
})
4679
NoSight = New("Part", Uzi, "NoSight", {
4680
	BrickColor = BrickColor.new("Gold"),
4681
	Elasticity = 0,
4682
	FormFactor = Enum.FormFactor.Custom,
4683
	Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
4684
	CFrame = CFrame.new(-63.857769, 4.31044102, 8.6785574, 1.51598751E-5, -4.07793617E-4, 0.999997377, -4.30490618E-5, 0.999989152, 4.07790008E-4, -0.999986291, -4.34524227E-5, 1.51382555E-5),
4685
	CanCollide = false,
4686
	BottomSurface = Enum.SurfaceType.Smooth,
4687
	TopSurface = Enum.SurfaceType.Smooth,
4688
	Color = Color3.new(0.105882, 0.164706, 0.207843)
4689
})
4690
Mesh = New("SpecialMesh", NoSight, "Mesh", {
4691
	Scale = Vector3.new(0.333333224, 0.0476190485, 0.142857105),
4692
	MeshType = Enum.MeshType.Wedge
4693
})
4694
mot = New("Motor", NoSight, "mot", {
4695
	Part0 = NoSight,
4696
	Part1 = Handle,
4697
	C0 = CFrame.new(0, 0, 0, 1.51580489E-5, -4.32481829E-5, -1, -4.07794229E-4, 1, -4.32543566E-5, 1, 4.07794898E-4, 1.51404101E-5),
4698
	C1 = CFrame.new(-0.0920143127, 0.912855864, -0.588032722, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
4699
})
4700
Ring = New("Part", Uzi, "Ring", {
4701
	BrickColor = BrickColor.new("Gold"),
4702
	Elasticity = 0,
4703
	FormFactor = Enum.FormFactor.Symmetric,
4704
	Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),
4705
	CFrame = CFrame.new(-63.8792877, 3.71034932, 8.25933456, 4.58751165E-5, 4.0779452E-4, 0.999997318, 4.30788677E-5, -0.999989152, 4.07788291E-4, 0.999986291, 4.34573376E-5, -4.58960603E-5),
4706
	CanCollide = false,
4707
	BottomSurface = Enum.SurfaceType.Smooth,
4708
	TopSurface = Enum.SurfaceType.Smooth,
4709
	Color = Color3.new(0.105882, 0.164706, 0.207843)
4710
})
4711
Mesh = New("SpecialMesh", Ring, "Mesh", {
4712
	Scale = Vector3.new(0.434199393, 0.361832827, 0.361832827),
4713
	MeshId = "http://www.roblox.com/asset/?id=3270017",
4714
	MeshType = Enum.MeshType.FileMesh
4715
})
4716
mot = New("Motor", Ring, "mot", {
4717
	Part0 = Ring,
4718
	Part1 = Handle,
4719
	C0 = CFrame.new(0, 0, 0, 4.58770992E-5, 4.32779889E-5, 1, 4.07795131E-4, -1, 4.32592751E-5, 0.99999994, 4.07793181E-4, -4.58947434E-5),
4720
	C1 = CFrame.new(-0.0704956055, 0.312757254, -0.168804169, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
4721
})
4722
NoSight = New("Part", Uzi, "NoSight", {
4723
	BrickColor = BrickColor.new("Gold"),
4724
	Elasticity = 0,
4725
	FormFactor = Enum.FormFactor.Custom,
4726
	Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
4727
	CFrame = CFrame.new(-63.9008064, 4.31044102, 8.6785574, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490618E-5, 0.999989152, -3.46755522E-4, 0.999986291, -4.34514986E-5, -1.51409104E-5),
4728
	CanCollide = false,
4729
	BottomSurface = Enum.SurfaceType.Smooth,
4730
	TopSurface = Enum.SurfaceType.Smooth,
4731
	Color = Color3.new(0.105882, 0.164706, 0.207843)
4732
})
4733
Mesh = New("SpecialMesh", NoSight, "Mesh", {
4734
	Scale = Vector3.new(0.333333224, 0.0476190485, 0.142857105),
4735
	MeshType = Enum.MeshType.Wedge
4736
})
4737
mot = New("Motor", NoSight, "mot", {
4738
	Part0 = NoSight,
4739
	Part1 = Handle,
4740
	C0 = CFrame.new(0, 0, 0, -1.51580507E-5, 4.32481829E-5, 1, -3.46759072E-4, 1, -4.32534325E-5, -1, -3.46759742E-4, -1.51430522E-5),
4741
	C1 = CFrame.new(-0.0489768982, 0.912855864, -0.588032722, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
4742
})
4743
NoSight = New("Part", Uzi, "NoSight", {
4744
	BrickColor = BrickColor.new("Gold"),
4745
	Elasticity = 0,
4746
	FormFactor = Enum.FormFactor.Plate,
4747
	Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),
4748
	CFrame = CFrame.new(-63.7637138, 4.25256538, 9.19813633, 3.16242484E-4, -0.999998629, -1.53781439E-5, -0.999994516, -3.16240039E-4, -4.36452538E-5, 4.38389834E-5, 1.53937908E-5, -0.999993145),
4749
	CanCollide = false,
4750
	BottomSurface = Enum.SurfaceType.Smooth,
4751
	TopSurface = Enum.SurfaceType.Smooth,
4752
	Color = Color3.new(0.105882, 0.164706, 0.207843)
4753
})
4754
Mesh = New("CylinderMesh", NoSight, "Mesh", {
4755
	Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194)
4756
})
4757
mot = New("Motor", NoSight, "mot", {
4758
	Part0 = NoSight,
4759
	Part1 = Handle,
4760
	C0 = CFrame.new(0, 0, 0, 3.16242484E-4, -0.999994516, 4.38389834E-5, -0.999998629, -3.16240039E-4, 1.53937908E-5, -1.53781439E-5, -4.36452538E-5, -0.999993145),
4761
	C1 = CFrame.new(-0.186069489, 0.854979753, -1.10761929, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1)
4762
})
4763
NoSight = New("Part", Uzi, "NoSight", {
4764
	BrickColor = BrickColor.new("Gold"),
4765
	Elasticity = 0,
4766
	FormFactor = Enum.FormFactor.Custom,
4767
	Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),
4768
	CFrame = CFrame.new(-63.8792877, 4.27389956, 7.20867825, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490654E-5, 0.999989152, -3.46755493E-4, 0.999986291, -4.34515023E-5, -1.51409085E-5),
4769
	CanCollide = false,
4770
	BottomSurface = Enum.SurfaceType.Smooth,
4771
	TopSurface = Enum.SurfaceType.Smooth,
4772
	Color = Color3.new(0.105882, 0.164706, 0.207843)
4773
})
4774
Mesh = New("BlockMesh", NoSight, "Mesh", {
4775
	Scale = Vector3.new(0.0476190522, 0.190476194, 0.19047603)
4776
})
4777
mot = New("Motor", NoSight, "mot", {
4778
	Part0 = NoSight,
4779
	Part1 = Handle,
4780
	C0 = CFrame.new(0, 0, 0, -1.5159917E-5, 4.30495311E-5, 1, -3.46759538E-4, 1, -4.30547843E-5, -1, -3.46760178E-4, -1.51449858E-5),
4781
	C1 = CFrame.new(-0.0704956055, 0.876312971, 0.881866455, -1, -1.38907941E-9, -5.60068347E-9, -1.38908274E-9, 1, 5.95965616E-7, 5.60068303E-9, 5.95965616E-7, -1)
4782
})
4783
A2 = New("Part", Uzi, "A2", {
4784
	BrickColor = BrickColor.new("Dark stone grey"),
4785
	Elasticity = 0,
4786
	FormFactor = Enum.FormFactor.Custom,
4787
	Size = Vector3.new(0.303939581, 0.303939581, 1.8236376),
4788
	CFrame = CFrame.new(-64.1623764, 4.10658884, 8.22297573, 3.04593304E-5, -6.80373148E-7, 0.999997377, -0.999989152, -1.32646619E-5, 3.04581481E-5, 1.36619119E-5, -0.999986291, -6.84514305E-7),
4789
	CanCollide = false,
4790
	BottomSurface = Enum.SurfaceType.Smooth,
4791
	TopSurface = Enum.SurfaceType.Smooth,
4792
	Color = Color3.new(0.388235, 0.372549, 0.384314)
4793
})
4794
Mesh = New("BlockMesh", A2, "Mesh", {
4795
	Offset = Vector3.new(0, 0, 0.0599999987),
4796
	Scale = Vector3.new(0.200000003, 0.200000003, 0.0480000004)
4797
})
4798
mot = New("Motor", A2, "mot", {
4799
	Part0 = A2,
4800
	Part1 = Handle,
4801
	C0 = CFrame.new(0, 0, 0, 3.04594105E-5, -1, 1.32647847E-5, -6.80374967E-7, -1.32648056E-5, -1, 1, 3.04594014E-5, -6.8077901E-7),
4802
	C1 = CFrame.new(0.212593079, 0.709000826, -0.132445335, -1, -1.38907941E-9, -5.60068347E-9, -1.38908274E-9, 1, 5.95965616E-7, 5.60068303E-9, 5.95965616E-7, -1)
4803
})
4804
for _, v in pairs(Uzi:GetChildren()) do
4805
	if v:IsA("BasePart") then
4806
		v.CanCollide = false
4807
	end
4808
end
4809
local NewInstance = function(instance, parent, properties)
4810
	local inst = Instance.new(instance, parent)
4811
	if properties then
4812
		for i, v in next, properties, nil do
4813
			pcall(function()
4814
				inst[i] = v
4815
			end)
4816
		end
4817
	end
4818
	return inst
4819
end
4820
local HW = NewInstance("Weld", char, {
4821
	Part0 = ra,
4822
	Part1 = Handle,
4823
	C0 = CFrame.new(0, -1.1, -0.2) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
4824
})
4825
-------------------------------------------------------
4826
--End Important Functions--
4827
-------------------------------------------------------
4828
4829
4830
-------------------------------------------------------
4831
--Start Customization--
4832
-------------------------------------------------------
4833
local Player_Size = 1
4834
if Player_Size ~= 1 then
4835
root.Size = root.Size * Player_Size
4836
tors.Size = tors.Size * Player_Size
4837
hed.Size = hed.Size * Player_Size
4838
ra.Size = ra.Size * Player_Size
4839
la.Size = la.Size * Player_Size
4840
rl.Size = rl.Size * Player_Size
4841
ll.Size = ll.Size * Player_Size
4842
----------------------------------------------------------------------------------
4843
rootj.Parent = root
4844
neck.Parent = tors
4845
RW.Parent = tors
4846
LW.Parent = tors
4847
RH.Parent = tors
4848
LH.Parent = tors
4849
----------------------------------------------------------------------------------
4850
rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
4851
rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
4852
neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
4853
neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
4854
RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
4855
LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
4856
----------------------------------------------------------------------------------
4857
RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
4858
LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
4859
RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
4860
LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
4861
--hat.Parent = Character
4862
end
4863
----------------------------------------------------------------------------------
4864
local SONG = 2588466482
4865
local SONG2 = 0
4866
local Music = Instance.new("Sound",tors)
4867
----------------------------------------------------------------------------------
4868
local equipped = false
4869
local idle = 0
4870
local change = 1
4871
local val = 0
4872
local toim = 0
4873
local idleanim = 0.4
4874
local sine = 0
4875
local Sit = 1
4876
local WasAir = false
4877
local InAir = false
4878
local LandTick = 0
4879
local movelegs = false
4880
local Speed = 35
4881
local Firing = false
4882
----------------------------------------------------------------------------------
4883
hum.JumpPower = 55
4884
hum.Animator.Parent = nil
4885
-------------------------------------------------------
4886
--End Customization--
4887
-------------------------------------------------------
4888
4889
4890
-------------------------------------------------------
4891
--Start Attacks N Stuff--
4892
-------------------------------------------------------
4893
function AttackTemplate()
4894
	attack = true
4895
	for i = 0, 2, 0.1 do
4896
		swait()
4897
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
4898
		neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
4899
		rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
4900
		ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
4901
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 + 5 * Sin(sine / 20)), Rad(10 + 5 * Sin(sine / 20))), 0.1)
4902
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1)
4903
	end
4904
	attack = false
4905
end
4906
local Camera = workspace.CurrentCamera
4907
function ShootEmUp()
4908
	attack = true
4909
	Speed = 5
4910
	movelegs = true
4911
	repeat
4912
		swait()
4913
		for i = 0, 0.3, 0.2 do
4914
			swait()
4915
			rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(60)), 0.3)
4916
			neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 5 * Sin(sine / 20)), Rad(0), Rad(-60)), 0.3)
4917
			rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.3)
4918
			ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.3)
4919
			RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(0), Rad(45)), 0.3)
4920
			LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.3)
4921
		end
4922
		local part, pos = rayCast(Cylinder1.Position,((mouse.Hit.p+Vector3.new(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)) - Cylinder1.Position),200,char)
4923
		Effects.Block(Cylinder1.CFrame,Vector3.new(.4,.4,.4),Vector3.new(),Vector3.new(.6,.6,.6),"Neon","Bright yellow",true,false,.1)
4924
		Effects.Block(CFrame.new(pos),Vector3.new(.4,.4,.4),Vector3.new(),Vector3.new(.1,.1,.1),"Neon","Bright yellow",true,false,.1)
4925
		Effects.Block(CFrame.new((Cylinder1.Position + pos)/2,pos),Vector3.new(.2,.2,(Cylinder1.Position - pos).magnitude),Vector3.new(0,0,1),Vector3.new(.1,.1,0),"Neon","Bright yellow",false,false,.1)
4926
		Cso("249050335", Cylinder1, 2, Mrandom(90,110)/100)
4927
		local WWWWWWWWWWOAH = Instance.new("Part",Camera)
4928
		WWWWWWWWWWOAH.Anchored = true
4929
		WWWWWWWWWWOAH.Transparency = 1
4930
		WWWWWWWWWWOAH.CanCollide = false
4931
		WWWWWWWWWWOAH.Size = Vector3.new()
4932
		WWWWWWWWWWOAH.CFrame = CFrame.new(pos)
4933
		MagniDamage(WWWWWWWWWWOAH, 3, 18, 2, 10, "Normal")
4934
		for i = 0, 1 do
4935
			swait()
4936
			rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(60)), 0.3)
4937
			neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 5 * Sin(sine / 20)), Rad(0), Rad(-60)), 0.3)
4938
			rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.3)
4939
			ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.3)
4940
			RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(110), Rad(0), Rad(45)), 0.3)
4941
			LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.3)
4942
		end
4943
	until Firing == false
4944
	Speed = 35
4945
	attack = false
4946
	movelegs = false
4947
end
4948
Sitt = false
4949
function SittyBoi()
4950
	attack = true
4951
	Sitt = true
4952
	Speed = 0
4953
	repeat
4954
		swait()
4955
		for i = 0, 1, 0.1 do
4956
			swait()
4957
			rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -1.6 + 0.1 * Player_Size * Cos(sine / 20)) * angles(Rad(-15), Rad(0), Rad(0)), 0.1)
4958
			neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0.05 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
4959
			rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.6* Player_Size, -0.2 - 0.1 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(20), Rad(-10), Rad(0)), 0.1)
4960
			ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -1.1 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(75), Rad(5), Rad(-10)), 0.1)
4961
			RW.C0 = clerp(RW.C0, CF(1.2* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.2* Player_Size) * angles(Rad(80), Rad(40), Rad(-30)), 0.1)
4962
			LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.2 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-15), Rad(20), Rad(-15)), 0.1)
4963
		end
4964
	until Sitt == false
4965
	attack = false
4966
	Speed = 35
4967
end
4968
function Maniac()
4969
	attack = true
4970
	movelegs = true
4971
	Speed = 4
4972
	local Laugh = Cso("1607788178", hed, 3, 0.9)
4973
	swait(2)
4974
	repeat
4975
		swait()
4976
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 2)) * angles(Rad(0), Rad(0), Rad(-15)), 0.1)
4977
		tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 2.5 * Sin(sine / 2)), Rad(0), Rad(15)), 0.1)
4978
		rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 2)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
4979
		ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 2)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
4980
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.3 + 0.1 * Sin(sine / 2)* Player_Size, 0* Player_Size) * angles(Rad(210), Rad(0), Rad(-10)), 0.1)
4981
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Cos(sine / 2)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(20), Rad(-5 + 4.5 * Sin(sine / 2))), 0.1)
4982
	until Laugh.Playing == false
4983
	attack = false
4984
	movelegs = false
4985
	Speed = 35
4986
end
4987
local VALUE1 = false
4988
-------------------------------------------------------
4989
--End Attacks N Stuff--
4990
-------------------------------------------------------
4991
mouse.Button1Down:connect(function()
4992
	Firing = true
4993
	if attack == false then
4994
		ShootEmUp()
4995
	end
4996
end)
4997
mouse.Button1Up:connect(function()
4998
	Firing = false
4999
end)
5000
mouse.KeyDown:connect(function(key)
5001
	if (VALUE1 == false and attack == false) or Sitt == true then
5002
		if key == "q" then
5003
			if Sitt == false then
5004
				SittyBoi()
5005
			elseif Sitt == true then
5006
				Sitt = false
5007
			end
5008
		end
5009
	end
5010
	if attack == false then
5011
		if key == "t" then
5012
			Maniac()
5013
		end
5014
	end
5015
end)
5016
 
5017
5018
5019
5020
5021
5022
5023
-------------------------------------------------------
5024
--Start Animations--
5025
-------------------------------------------------------
5026
print("By Creterisk")
5027
while true do
5028
	swait()
5029
	sine = sine + change
5030
	local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
5031
	local velderp = root.Velocity.y
5032
	hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
5033
	if equipped == true or equipped == false then
5034
		if attack == false then
5035
			idle = idle + 1
5036
		else
5037
			idle = 0
5038
		end
5039
		local Landed = false
5040
		if(hitfloor)then
5041
			WasAir = false
5042
		else
5043
			WasAir = true
5044
		end
5045
		if(WasAir == false)then
5046
			if(InAir == true)then
5047
				LandTick = time()
5048
				Landed = true
5049
			end
5050
		end
5051
		if(time()-LandTick < .3)then
5052
			Landed = true
5053
		end
5054
		if(hitfloor)then
5055
			InAir = false
5056
		else
5057
			InAir = true
5058
		end
5059
		local Walking = (math.abs(root.Velocity.x) > 1 or math.abs(root.Velocity.z) > 1)
5060
		local State = (hum.PlatformStand and 'Paralyzed' or hum.Sit and 'Sit' or Landed and 'Land' or not hitfloor and root.Velocity.y < -1 and "Fall" or not hitfloor and root.Velocity.y > 1 and "Jump" or hitfloor and Walking and "Walk" or hitfloor and "Idle")
5061
		local WALKSPEEDVALUE = 6 / (hum.WalkSpeed / 16)
5062
		if hum.Sit == false then
5063
		if(State == 'Jump')then
5064
			hum.JumpPower = 55
5065
			if attack == false then
5066
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.1)
5067
				neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
5068
				rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -.2 - 0.1 * Cos(sine / 20), -.3* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.1)
5069
				ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.1)
5070
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
5071
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
5072
			end
5073
		elseif(State == 'Fall')then
5074
			if attack == false then
5075
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.1)
5076
				neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
5077
				rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(-3.5), Rad(0), Rad(0)), 0.1)
5078
				ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(-3.5), Rad(0), Rad(0)), 0.1)
5079
				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(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
5080
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
5081
			end
5082
		elseif(State == 'Land')then
5083
			hum.JumpPower = 0
5084
			if attack == false then
5085
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
5086
				neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(35 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
5087
				rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, 0.1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(-3.5), Rad(0), Rad(10)), 0.15)
5088
				ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, 0.1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(-3.5), Rad(0), Rad(-10)), 0.15)
5089
				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(-.6), Rad(25 + 4.5 * Sin(sine / 20))), 0.1)
5090
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.1)
5091
			end
5092
		elseif(State == 'Idle')then
5093
			change = 1
5094
			if attack == false then
5095
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
5096
				neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(5)), 0.1)
5097
				rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
5098
				ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
5099
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.3 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(210), Rad(0), Rad(-10)), 0.1)
5100
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1)
5101
			end
5102
		elseif(State == 'Walk')then
5103
			change = 0.76
5104
			hum.JumpPower = 55
5105
			if attack == false then
5106
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.3 - 0.15 * Cos(sine / (WALKSPEEDVALUE / 2))) * angles(Rad(25), Rad(0), Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE )) + root.RotVelocity.Y / 75), 0.1)
5107
				neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-5 + 5 * Sin(sine / (WALKSPEEDVALUE / 2))), Rad(0), Rad(0 + 10 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / 13), 0.1)
5108
				rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.8 - 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, 0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size)  * angles(Rad(-10 - 65 * Cos(sine / WALKSPEEDVALUE)) - root.RotVelocity.Y / 75 + -Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
5109
         		ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.8 + 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, -0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 + 65 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / -75 + Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
5110
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.3 + 0.05 * Cos(sine / WALKSPEEDVALUE)* Player_Size, 0* Player_Size) * angles(Rad(210), Rad(0), Rad(-10)), 0.1)
5111
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Cos(sine / WALKSPEEDVALUE)* Player_Size, 0 + 0.5 * Cos(sine / WALKSPEEDVALUE)* Player_Size) * angles(Rad(-125 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / 75, Rad(10 * Cos(sine / WALKSPEEDVALUE)), Rad(-20) + root.RotVelocity.Y / -75), 0.1)
5112
			elseif attack == true and movelegs == true then
5113
				rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.8 - 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, 0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size)  * angles(Rad(-10 - 25 * Cos(sine / WALKSPEEDVALUE)) - root.RotVelocity.Y / 75 + -Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
5114
         		ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.8 + 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, -0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 + 25 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / -75 + Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
5115
			end
5116
		end
5117
		else
5118
			Sit.Value = true
5119
			if attack == false then
5120
			rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.5 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
5121
			neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-5 - 2.5 * Sin(sine / 30)), Rad(0), Rad(-5)), 0.1)
5122
			rl.Weld.C0 = clerp(rl.Weld.C0, CF(1* Player_Size, -0.35 - 0.05 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(15), Rad(75), Rad(0)) * angles(Rad(-5), Rad(0), Rad(5)), 0.1)
5123
			ll.Weld.C0 = clerp(ll.Weld.C0, CF(-1* Player_Size, -0.35 - 0.05 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(15), Rad(-75), Rad(0)) * angles(Rad(-5), Rad(0), Rad(5)), 0.1)
5124
			RW.C0 = clerp(RW.C0, CF(1.3* Player_Size, 0.4 + 0.1 * Sin(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(35), Rad(-20), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
5125
			LW.C0 = clerp(LW.C0, CF(-1.3* Player_Size, 0.4 + 0.1 * Sin(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(35), Rad(20), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
5126
			end
5127
		end
5128
	end
5129
	hum.WalkSpeed = Speed
5130
	Music.SoundId = "rbxassetid://"..SONG
5131
	Music.Looped = true
5132
	Music.Pitch = 1
5133
	Music.Volume = 2
5134
	Music.Parent = tors
5135
	Music.Playing = true
5136
	if 0 < #Effects then
5137
		for e = 1, #Effects do
5138
			if Effects[e] ~= nil then
5139
				local Thing = Effects[e]
5140
				if Thing ~= nil then
5141
					local Part = Thing[1]
5142
					local Mode = Thing[2]
5143
					local Delay = Thing[3]
5144
					local IncX = Thing[4]
5145
					local IncY = Thing[5]
5146
					local IncZ = Thing[6]
5147
					if 1 >= Thing[1].Transparency then
5148
						if Thing[2] == "Block1" then
5149
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
5150
							local Mesh = Thing[1].Mesh
5151
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
5152
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
5153
						elseif Thing[2] == "Block2" then
5154
							Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
5155
							local Mesh = Thing[7]
5156
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
5157
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
5158
						elseif Thing[2] == "Block3" then
5159
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
5160
							local Mesh = Thing[7]
5161
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
5162
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
5163
						elseif Thing[2] == "Cylinder" then
5164
							local Mesh = Thing[1].Mesh
5165
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
5166
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
5167
						elseif Thing[2] == "Blood" then
5168
							local Mesh = Thing[7]
5169
							Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
5170
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
5171
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
5172
						elseif Thing[2] == "Elec" then
5173
							local Mesh = Thing[1].Mesh
5174
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
5175
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
5176
						elseif Thing[2] == "Disappear" then
5177
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
5178
						elseif Thing[2] == "Shatter" then
5179
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
5180
							Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
5181
							Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
5182
							Thing[6] = Thing[6] + Thing[5]
5183
						end
5184
					else
5185
						Part.Parent = nil
5186
						table.remove(Effects, e)
5187
					end
5188
				end
5189
			end
5190
		end
5191
	end
5192
end
5193
-------------------------------------------------------
5194
--End Animations And Script--
5195
-------------------------------------------------------
5196
5197
-------------------------------------------------