View difference between Paste ID: 2EW6CgPP and 8mmg7Q75
SHOW: | | - or go back to the newest paste.
1-
--Made by N3xul
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("This Script Was Filted By Oreo : COMMANDCODES1234")
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
--------------------------------[OwO]--------------------------------
84
local runDummyScript = function(f,scri)
85
local oldenv = getfenv(f)
86
local newenv = setmetatable({}, {
87
__index = function(_, k)
88
if k:lower() == 'script' then
89
return scri
90
else
91
return oldenv[k]
92
end
93
end
94
})
95
setfenv(f, newenv)
96
ypcall(function() f() end)
97
end
98
cors = {}
99
mas = Instance.new("Model",game:GetService("Lighting")) 
100
mas.Name = "CompiledModel"
101
o1 = Instance.new("Tool")
102
o2 = Instance.new("Part")
103
o3 = Instance.new("Sound")
104
o4 = Instance.new("Sound")
105
o6 = Instance.new("Part")
106
o7 = Instance.new("CylinderMesh")
107
o8 = Instance.new("Part")
108
o9 = Instance.new("BlockMesh")
109
o10 = Instance.new("Part")
110
o11 = Instance.new("BlockMesh")
111
o12 = Instance.new("Part")
112
o13 = Instance.new("Part")
113
o14 = Instance.new("CylinderMesh")
114
o15 = Instance.new("Part")
115
o16 = Instance.new("SpecialMesh")
116
o17 = Instance.new("Part")
117
o18 = Instance.new("SpecialMesh")
118
o19 = Instance.new("Part")
119
o20 = Instance.new("IntValue")
120
o21 = Instance.new("BlockMesh")
121
o22 = Instance.new("Part")
122
o23 = Instance.new("BlockMesh")
123
o24 = Instance.new("Part")
124
o25 = Instance.new("SpecialMesh")
125
o26 = Instance.new("Part")
126
o27 = Instance.new("SpecialMesh")
127
o28 = Instance.new("Part")
128
o29 = Instance.new("CylinderMesh")
129
o30 = Instance.new("Part")
130
o31 = Instance.new("CylinderMesh")
131
o32 = Instance.new("Part")
132
o33 = Instance.new("BlockMesh")
133
o34 = Instance.new("Part")
134
o35 = Instance.new("SpecialMesh")
135
o36 = Instance.new("Part")
136
o37 = Instance.new("CylinderMesh")
137
o38 = Instance.new("Part")
138
o39 = Instance.new("Sound")
139
o40 = Instance.new("Sound")
140
o41 = Instance.new("Part")
141
o42 = Instance.new("CylinderMesh")
142
o43 = Instance.new("Part")
143
o44 = Instance.new("BlockMesh")
144
o45 = Instance.new("Part")
145
o46 = Instance.new("BlockMesh")
146
o47 = Instance.new("ManualWeld")
147
o48 = Instance.new("Part")
148
o49 = Instance.new("BlockMesh")
149
o50 = Instance.new("Part")
150
o51 = Instance.new("CylinderMesh")
151
o52 = Instance.new("ManualWeld")
152
o53 = Instance.new("Part")
153
o54 = Instance.new("BlockMesh")
154
o55 = Instance.new("Part")
155
o56 = Instance.new("BlockMesh")
156
o57 = Instance.new("Part")
157
o58 = Instance.new("BlockMesh")
158
o59 = Instance.new("Part")
159
o60 = Instance.new("BlockMesh")
160
o61 = Instance.new("Part")
161
o62 = Instance.new("CylinderMesh")
162
o63 = Instance.new("Part")
163
o64 = Instance.new("SpecialMesh")
164
o65 = Instance.new("Part")
165
o66 = Instance.new("SpecialMesh")
166
o67 = Instance.new("Part")
167
o68 = Instance.new("CylinderMesh")
168
o69 = Instance.new("Part")
169
o70 = Instance.new("BlockMesh")
170
o71 = Instance.new("Part")
171
o72 = Instance.new("CylinderMesh")
172
o73 = Instance.new("Part")
173
o74 = Instance.new("SpecialMesh")
174
o75 = Instance.new("Part")
175
o76 = Instance.new("SpecialMesh")
176
o77 = Instance.new("Part")
177
o78 = Instance.new("SpecialMesh")
178
o79 = Instance.new("Part")
179
o80 = Instance.new("CylinderMesh")
180
o81 = Instance.new("Part")
181
o82 = Instance.new("BlockMesh")
182
o83 = Instance.new("Part")
183
o84 = Instance.new("BlockMesh")
184
o85 = Instance.new("Part")
185
o86 = Instance.new("BlockMesh")
186
o87 = Instance.new("Part")
187
o88 = Instance.new("BlockMesh")
188
o89 = Instance.new("Part")
189
o90 = Instance.new("BlockMesh")
190
o91 = Instance.new("Part")
191
o92 = Instance.new("CylinderMesh")
192
o93 = Instance.new("LocalScript")
193
o94 = Instance.new("LocalScript")
194
o95 = Instance.new("NumberValue")
195
o96 = Instance.new("NumberValue")
196
o97 = Instance.new("ScreenGui")
197
o98 = Instance.new("Frame")
198
o99 = Instance.new("TextLabel")
199
o100 = Instance.new("Smoke")
200
o101 = Instance.new("Smoke")
201
o1.Name = "SUzi"
202
o1.Parent = mas
203
o2.Name = "Handle"
204
o2.Parent = o1
205
o2.BrickColor = BrickColor.new("Black")
206
o2.Transparency = 1
207
o2.Position = Vector3.new(59.75, 0.909995973, 191.800018)
208
o2.Rotation = Vector3.new(-180, 1.23782713e-023, -180)
209
o2.Anchored = true
210
o2.CanCollide = false
211
o2.FormFactor = Enum.FormFactor.Custom
212
o2.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
213
o2.CFrame = CFrame.new(59.75, 0.909995973, 191.800018, -1, 2.55505469e-013, 2.16041589e-025, -2.55505469e-013, 0.999998093, 1.93267321e-012, 2.16041589e-025, -1.93267321e-012, -0.999998093)
214
o2.BottomSurface = Enum.SurfaceType.Smooth
215
o2.TopSurface = Enum.SurfaceType.Smooth
216
o2.Color = Color3.new(0.105882, 0.164706, 0.207843)
217
o2.Position = Vector3.new(59.75, 0.909995973, 191.800018)
218
o3.Name = "Reload"
219
o3.Parent = o2
220
o3.SoundId = "http://www.roblox.com/asset/?id=95309699"
221
o3.Volume = 1
222
o4.Name = "Shoot"
223
o4.Parent = o2
224
o4.Pitch = 3
225
o4.SoundId = "http://www.roblox.com/asset/?id=97852331"
226
o6.Name = "Sil"
227
o6.Parent = o1
228
o6.Material = Enum.Material.SmoothPlastic
229
o6.BrickColor = BrickColor.new("Black")
230
o6.Position = Vector3.new(59.7909775, 1.38277197, 193.245148)
231
o6.Rotation = Vector3.new(-90, 0, -0)
232
o6.Anchored = true
233
o6.FormFactor = Enum.FormFactor.Custom
234
o6.Size = Vector3.new(0.200000048, 0.800000012, 0.200000003)
235
o6.CFrame = CFrame.new(59.7909775, 1.38277197, 193.245148, 1, 0, 0, 0, 0, 1, 0, -1, -4.37113883e-008)
236
o6.Color = Color3.new(0.105882, 0.164706, 0.207843)
237
o6.Position = Vector3.new(59.7909775, 1.38277197, 193.245148)
238
o7.Parent = o6
239
o8.Name = "Mag2"
240
o8.Parent = o1
241
o8.BrickColor = BrickColor.new("Dark stone grey")
242
o8.Position = Vector3.new(59.7968826, 0.367808998, 191.748718)
243
o8.Rotation = Vector3.new(92.499733, -89.9072189, 92.5024033)
244
o8.Anchored = true
245
o8.CanCollide = false
246
o8.Elasticity = 0
247
o8.FormFactor = Enum.FormFactor.Custom
248
o8.Size = Vector3.new(0.200000003, 0.638095081, 0.200000003)
249
o8.CFrame = CFrame.new(59.7968826, 0.367808998, 191.748718, -1.51542963e-005, -0.000346757675, -0.999998689, 4.36454284e-005, 0.999998331, -0.000346757763, 0.99999696, -4.38391435e-005, -1.51381428e-005)
250
o8.BottomSurface = Enum.SurfaceType.Smooth
251
o8.TopSurface = Enum.SurfaceType.Smooth
252
o8.Color = Color3.new(0.388235, 0.372549, 0.384314)
253
o8.Position = Vector3.new(59.7968826, 0.367808998, 191.748718)
254
o9.Parent = o8
255
o9.Scale = Vector3.new(0.809523821, 1, 0.714285731)
256
o10.Parent = o1
257
o10.BrickColor = BrickColor.new("Black")
258
o10.Position = Vector3.new(59.7963982, 0.963775992, 191.12471)
259
o10.Rotation = Vector3.new(92.499733, -89.9072189, 92.5024033)
260
o10.Anchored = true
261
o10.CanCollide = false
262
o10.Elasticity = 0
263
o10.FormFactor = Enum.FormFactor.Symmetric
264
o10.Size = Vector3.new(1, 1, 1)
265
o10.CFrame = CFrame.new(59.7963982, 0.963775992, 191.12471, -1.51542963e-005, -0.000346757675, -0.999998689, 4.36454284e-005, 0.999998331, -0.000346757763, 0.99999696, -4.38391435e-005, -1.51381428e-005)
266
o10.BottomSurface = Enum.SurfaceType.Smooth
267
o10.TopSurface = Enum.SurfaceType.Smooth
268
o10.Color = Color3.new(0.105882, 0.164706, 0.207843)
269
o10.Position = Vector3.new(59.7963982, 0.963775992, 191.12471)
270
o11.Parent = o10
271
o11.Scale = Vector3.new(0.0476190485, 0.380952388, 0.190476194)
272
o12.Name = "AimPart"
273
o12.Parent = o1
274
o12.BrickColor = BrickColor.new("Black")
275
o12.Transparency = 1
276
o12.Position = Vector3.new(59.7963028, 1.51867104, 190.408508)
277
o12.Rotation = Vector3.new(-180, 1.23782713e-023, -180)
278
o12.Anchored = true
279
o12.CanCollide = false
280
o12.FormFactor = Enum.FormFactor.Custom
281
o12.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
282
o12.CFrame = CFrame.new(59.7963028, 1.51867104, 190.408508, -1, 2.55505469e-013, 2.16041589e-025, -2.55505469e-013, 0.999998093, 1.93267321e-012, 2.16041589e-025, -1.93267321e-012, -0.999998093)
283
o12.BottomSurface = Enum.SurfaceType.Smooth
284
o12.TopSurface = Enum.SurfaceType.Smooth
285
o12.Color = Color3.new(0.105882, 0.164706, 0.207843)
286
o12.Position = Vector3.new(59.7963028, 1.51867104, 190.408508)
287
o13.Name = "SmokePart"
288
o13.Parent = o1
289
o13.BrickColor = BrickColor.new("Black")
290
o13.Transparency = 1
291
o13.Position = Vector3.new(59.7909317, 1.37609601, 193.662384)
292
o13.Rotation = Vector3.new(90, -90, 0)
293
o13.Anchored = true
294
o13.CanCollide = false
295
o13.FormFactor = Enum.FormFactor.Custom
296
o13.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
297
o13.CFrame = CFrame.new(59.7909317, 1.37609601, 193.662384, -2.55505469e-013, -2.16041589e-025, -1, -0.999998093, -1.93267321e-012, -2.55505469e-013, 1.93267321e-012, 0.999998093, 2.16041589e-025)
298
o13.BottomSurface = Enum.SurfaceType.Smooth
299
o13.TopSurface = Enum.SurfaceType.Smooth
300
o13.Color = Color3.new(0.105882, 0.164706, 0.207843)
301
o13.Position = Vector3.new(59.7909317, 1.37609601, 193.662384)
302
o14.Parent = o13
303
o14.Scale = Vector3.new(0.600000024, 1, 0.600000024)
304
o15.Name = "NoSight"
305
o15.Parent = o1
306
o15.BrickColor = BrickColor.new("Black")
307
o15.Position = Vector3.new(59.7685661, 1.52071798, 192.186493)
308
o15.Rotation = Vector3.new(92.499733, -89.9072189, 92.5024033)
309
o15.Anchored = true
310
o15.CanCollide = false
311
o15.Elasticity = 0
312
o15.FormFactor = Enum.FormFactor.Custom
313
o15.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
314
o15.CFrame = CFrame.new(59.7685661, 1.52071798, 192.186493, -1.51542963e-005, -0.000346757675, -0.999998689, 4.36454284e-005, 0.999998331, -0.000346757763, 0.99999696, -4.38391435e-005, -1.51381428e-005)
315
o15.BottomSurface = Enum.SurfaceType.Smooth
316
o15.TopSurface = Enum.SurfaceType.Smooth
317
o15.Color = Color3.new(0.105882, 0.164706, 0.207843)
318
o15.Position = Vector3.new(59.7685661, 1.52071798, 192.186493)
319
o16.Parent = o15
320
o16.Scale = Vector3.new(0.333333343, 0.142857149, 0.095238097)
321
o16.MeshType = Enum.MeshType.Wedge
322
o17.Name = "NoSight"
323
o17.Parent = o1
324
o17.BrickColor = BrickColor.new("Black")
325
o17.Position = Vector3.new(59.7963982, 1.486812, 192.186615)
326
o17.Rotation = Vector3.new(-0.00321958517, 0.00275059137, -179.978378)
327
o17.Anchored = true
328
o17.CanCollide = false
329
o17.Elasticity = 0
330
o17.FormFactor = Enum.FormFactor.Custom
331
o17.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
332
o17.CFrame = CFrame.new(59.7963982, 1.486812, 192.186615, -0.999998569, 0.000377276359, 4.80068738e-005, -0.000377273187, -0.99999845, 5.61921843e-005, 4.80578747e-005, 5.65051087e-005, 0.999996841)
333
o17.BottomSurface = Enum.SurfaceType.Smooth
334
o17.TopSurface = Enum.SurfaceType.Smooth
335
o17.Color = Color3.new(0.105882, 0.164706, 0.207843)
336
o17.Position = Vector3.new(59.7963982, 1.486812, 192.186615)
337
o18.Parent = o17
338
o18.Scale = Vector3.new(0.380952358, 0.190476194, 0.333333343)
339
o18.MeshType = Enum.MeshType.Torso
340
o19.Name = "NoSight"
341
o19.Parent = o1
342
o19.BrickColor = BrickColor.new("White")
343
o19.Transparency = 1
344
o19.Position = Vector3.new(59.7963982, 1.52467203, 192.476547)
345
o19.Rotation = Vector3.new(-0.00322641456, -0.000993201276, 0.0216163192)
346
o19.Anchored = true
347
o19.CanCollide = false
348
o19.Elasticity = 0
349
o19.FormFactor = Enum.FormFactor.Custom
350
o19.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
351
o19.CFrame = CFrame.new(59.7963982, 1.52467203, 192.476547, 0.999998569, -0.000377275399, -1.73346325e-005, 0.000377275835, 0.99999845, 5.63113936e-005, 1.73282169e-005, -5.65051087e-005, 0.999997079)
352
o19.BottomSurface = Enum.SurfaceType.Smooth
353
o19.TopSurface = Enum.SurfaceType.Smooth
354
o19.Color = Color3.new(0.94902, 0.952941, 0.952941)
355
o19.Position = Vector3.new(59.7963982, 1.52467203, 192.476547)
356
o20.Name = "lenspart"
357
o20.Parent = o19
358
o21.Parent = o19
359
o21.Scale = Vector3.new(0.095238097, 0.0476190485, 0.0476190485)
360
o22.Name = "NoSight"
361
o22.Parent = o1
362
o22.BrickColor = BrickColor.new("Black")
363
o22.Position = Vector3.new(59.7963982, 1.50163996, 192.528473)
364
o22.Rotation = Vector3.new(-92.0970917, 89.9051285, 2.09262466)
365
o22.Anchored = true
366
o22.CanCollide = false
367
o22.Elasticity = 0
368
o22.FormFactor = Enum.FormFactor.Custom
369
o22.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
370
o22.CFrame = CFrame.new(59.7963982, 1.50163996, 192.528473, 0.000420434255, -1.53624314e-005, 0.999998629, -0.999998271, -4.57315873e-005, 0.000420432887, 4.59104012e-005, -0.999996901, -1.53951878e-005)
371
o22.BottomSurface = Enum.SurfaceType.Smooth
372
o22.TopSurface = Enum.SurfaceType.Smooth
373
o22.Color = Color3.new(0.105882, 0.164706, 0.207843)
374
o22.Position = Vector3.new(59.7963982, 1.50163996, 192.528473)
375
o23.Parent = o22
376
o23.Scale = Vector3.new(0.285714269, 0.476190478, 0.095238097)
377
o24.Name = "NoSight"
378
o24.Parent = o1
379
o24.BrickColor = BrickColor.new("Black")
380
o24.Position = Vector3.new(59.8252106, 1.52071798, 192.186493)
381
o24.Rotation = Vector3.new(-87.8741455, 89.9072189, 87.8717728)
382
o24.Anchored = true
383
o24.CanCollide = false
384
o24.Elasticity = 0
385
o24.FormFactor = Enum.FormFactor.Custom
386
o24.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
387
o24.CFrame = CFrame.new(59.8252106, 1.52071798, 192.186493, 1.51542945e-005, -0.000407792773, 0.999998689, -4.36454284e-005, 0.999998331, 0.000407792832, -0.99999696, -4.38391435e-005, 1.51373351e-005)
388
o24.BottomSurface = Enum.SurfaceType.Smooth
389
o24.TopSurface = Enum.SurfaceType.Smooth
390
o24.Color = Color3.new(0.105882, 0.164706, 0.207843)
391
o24.Position = Vector3.new(59.8252106, 1.52071798, 192.186493)
392
o25.Parent = o24
393
o25.Scale = Vector3.new(0.333333343, 0.142857149, 0.095238097)
394
o25.MeshType = Enum.MeshType.Wedge
395
o26.Name = "NoSight"
396
o26.Parent = o1
397
o26.BrickColor = BrickColor.new("Black")
398
o26.Position = Vector3.new(59.7963982, 1.52480197, 191.219437)
399
o26.Rotation = Vector3.new(179.999252, 0.000992268557, -0.0240890589)
400
o26.Anchored = true
401
o26.CanCollide = false
402
o26.Elasticity = 0
403
o26.FormFactor = Enum.FormFactor.Custom
404
o26.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
405
o26.CFrame = CFrame.new(59.7963982, 1.52480197, 191.219437, 0.999998629, 0.000420432829, 1.73183525e-005, 0.000420432421, -0.999998331, -1.31428005e-005, 1.73127555e-005, 1.33365193e-005, -0.99999696)
406
o26.BottomSurface = Enum.SurfaceType.Smooth
407
o26.TopSurface = Enum.SurfaceType.Smooth
408
o26.Color = Color3.new(0.105882, 0.164706, 0.207843)
409
o26.Position = Vector3.new(59.7963982, 1.52480197, 191.219437)
410
o27.Parent = o26
411
o27.MeshId = "http://www.roblox.com/asset/?id=3270017"
412
o27.Scale = Vector3.new(0.0571428612, 0.0571428612, 0.0571428612)
413
o27.MeshType = Enum.MeshType.FileMesh
414
o28.Name = "NoSight"
415
o28.Parent = o1
416
o28.BrickColor = BrickColor.new("Black")
417
o28.Position = Vector3.new(59.7202454, 1.47276294, 191.243576)
418
o28.Rotation = Vector3.new(179.997513, -0.000881102751, 89.9818802)
419
o28.Anchored = true
420
o28.CanCollide = false
421
o28.Elasticity = 0
422
o28.FormFactor = Enum.FormFactor.Plate
423
o28.Size = Vector3.new(1, 0.400000006, 1)
424
o28.CFrame = CFrame.new(59.7202454, 1.47276294, 191.243576, 0.000316242484, -0.999998629, -1.53781439e-005, -0.999998331, -0.000316241261, -4.36454284e-005, 4.38391435e-005, 1.5393849e-005, -0.99999696)
425
o28.BottomSurface = Enum.SurfaceType.Smooth
426
o28.TopSurface = Enum.SurfaceType.Smooth
427
o28.Color = Color3.new(0.105882, 0.164706, 0.207843)
428
o28.Position = Vector3.new(59.7202454, 1.47276294, 191.243576)
429
o29.Parent = o28
430
o29.Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194)
431
o30.Name = "NoSight"
432
o30.Parent = o1
433
o30.BrickColor = BrickColor.new("Black")
434
o30.Position = Vector3.new(59.7202454, 1.47264397, 192.52829)
435
o30.Rotation = Vector3.new(179.997513, -0.000881102751, 89.9818802)
436
o30.Anchored = true
437
o30.CanCollide = false
438
o30.Elasticity = 0
439
o30.FormFactor = Enum.FormFactor.Plate
440
o30.Size = Vector3.new(1, 0.400000006, 1)
441
o30.CFrame = CFrame.new(59.7202454, 1.47264397, 192.52829, 0.000316242484, -0.999998629, -1.53781439e-005, -0.999998331, -0.000316241261, -4.36454284e-005, 4.38391435e-005, 1.5393849e-005, -0.99999696)
442
o30.BottomSurface = Enum.SurfaceType.Smooth
443
o30.TopSurface = Enum.SurfaceType.Smooth
444
o30.Color = Color3.new(0.105882, 0.164706, 0.207843)
445
o30.Position = Vector3.new(59.7202454, 1.47264397, 192.52829)
446
o31.Parent = o30
447
o31.Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194)
448
o32.Parent = o1
449
o32.BrickColor = BrickColor.new("Black")
450
o32.Position = Vector3.new(59.7963982, 1.20182598, 191.338531)
451
o32.Rotation = Vector3.new(92.499733, -89.9072189, 92.5024033)
452
o32.Anchored = true
453
o32.CanCollide = false
454
o32.Elasticity = 0
455
o32.FormFactor = Enum.FormFactor.Symmetric
456
o32.Size = Vector3.new(1, 1, 1)
457
o32.CFrame = CFrame.new(59.7963982, 1.20182598, 191.338531, -1.51542963e-005, -0.000346757675, -0.999998689, 4.36454284e-005, 0.999998331, -0.000346757763, 0.99999696, -4.38391435e-005, -1.51381428e-005)
458
o32.BottomSurface = Enum.SurfaceType.Smooth
459
o32.TopSurface = Enum.SurfaceType.Smooth
460
o32.Color = Color3.new(0.105882, 0.164706, 0.207843)
461
o32.Position = Vector3.new(59.7963982, 1.20182598, 191.338531)
462
o33.Parent = o32
463
o33.Scale = Vector3.new(0.571428597, 0.095238097, 0.190476194)
464
o34.Parent = o1
465
o34.BrickColor = BrickColor.new("Black")
466
o34.Position = Vector3.new(59.7963982, 0.96371001, 191.076248)
467
o34.Rotation = Vector3.new(-0.00321958517, 0.00275059137, -179.978378)
468
o34.Anchored = true
469
o34.CanCollide = false
470
o34.Elasticity = 0
471
o34.FormFactor = Enum.FormFactor.Symmetric
472
o34.Size = Vector3.new(1, 1, 1)
473
o34.CFrame = CFrame.new(59.7963982, 0.96371001, 191.076248, -0.999998569, 0.000377276359, 4.80068738e-005, -0.000377273187, -0.99999845, 5.61921843e-005, 4.80578747e-005, 5.65051087e-005, 0.999996841)
474
o34.BottomSurface = Enum.SurfaceType.Smooth
475
o34.TopSurface = Enum.SurfaceType.Smooth
476
o34.Color = Color3.new(0.105882, 0.164706, 0.207843)
477
o34.Position = Vector3.new(59.7963982, 0.96371001, 191.076248)
478
o35.Parent = o34
479
o35.Scale = Vector3.new(0.190476194, 0.380952388, 0.0476190485)
480
o35.MeshType = Enum.MeshType.Wedge
481
o36.Parent = o1
482
o36.BrickColor = BrickColor.new("Black")
483
o36.Position = Vector3.new(59.7963982, 1.37784398, 192.862396)
484
o36.Rotation = Vector3.new(-92.0970917, 89.9051285, 2.09262466)
485
o36.Anchored = true
486
o36.CanCollide = false
487
o36.Elasticity = 0
488
o36.FormFactor = Enum.FormFactor.Symmetric
489
o36.Size = Vector3.new(1, 1, 1)
490
o36.CFrame = CFrame.new(59.7963982, 1.37784398, 192.862396, 0.000420434255, -1.53624314e-005, 0.999998629, -0.999998271, -4.57315873e-005, 0.000420432887, 4.59104012e-005, -0.999996901, -1.53951878e-005)
491
o36.BottomSurface = Enum.SurfaceType.Smooth
492
o36.TopSurface = Enum.SurfaceType.Smooth
493
o36.Color = Color3.new(0.105882, 0.164706, 0.207843)
494
o36.Position = Vector3.new(59.7963982, 1.37784398, 192.862396)
495
o37.Parent = o36
496
o37.Scale = Vector3.new(0.095238097, 0.285714298, 0.095238097)
497
o38.Name = "HandleD"
498
o38.Parent = o1
499
o38.Transparency = 1
500
o38.Position = Vector3.new(59.7963982, 0.924808025, 191.510574)
501
o38.Rotation = Vector3.new(179.999252, -0.000881762127, 179.978378)
502
o38.Anchored = true
503
o38.CanCollide = false
504
o38.Elasticity = 0
505
o38.FormFactor = Enum.FormFactor.Plate
506
o38.Size = Vector3.new(1, 0.400000006, 1)
507
o38.CFrame = CFrame.new(59.7963982, 0.924808025, 191.510574, -0.999998629, -0.000377275224, -1.53896526e-005, -0.00037727438, 0.999998331, -1.31278994e-005, 1.53945912e-005, -1.33365193e-005, -0.99999696)
508
o38.BottomSurface = Enum.SurfaceType.Smooth
509
o38.FrontSurface = Enum.SurfaceType.Universal
510
o38.TopSurface = Enum.SurfaceType.Smooth
511
o38.Position = Vector3.new(59.7963982, 0.924808025, 191.510574)
512
o39.Name = "Fire"
513
o39.Parent = o38
514
o39.Pitch = 1.3500000238419
515
o39.SoundId = "http://www.roblox.com/asset/?id=97852331"
516
o39.Volume = 0.25
517
o40.Name = "Reload"
518
o40.Parent = o38
519
o40.SoundId = "http://www.roblox.com/asset/?id=95309699"
520
o40.Volume = 0.10000000149012
521
o41.Name = "Cylinder"
522
o41.Parent = o1
523
o41.BrickColor = BrickColor.new("Really black")
524
o41.Position = Vector3.new(59.7963982, 1.37777805, 193.014389)
525
o41.Rotation = Vector3.new(87.36203, -89.9051285, -2.63255858)
526
o41.Anchored = true
527
o41.CanCollide = false
528
o41.Elasticity = 0
529
o41.FormFactor = Enum.FormFactor.Plate
530
o41.Size = Vector3.new(1, 0.400000006, 1)
531
o41.CFrame = CFrame.new(59.7963982, 1.37777805, 193.014389, 0.000334117154, 1.53624314e-005, -0.999998629, -0.999998271, 4.57315873e-005, -0.000334115815, 4.59104012e-005, 0.999996901, 1.53940309e-005)
532
o41.BottomSurface = Enum.SurfaceType.Smooth
533
o41.TopSurface = Enum.SurfaceType.Smooth
534
o41.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
535
o41.Position = Vector3.new(59.7963982, 1.37777805, 193.014389)
536
o42.Parent = o41
537
o42.Offset = Vector3.new(0, -0.0185714271, 0)
538
o42.Scale = Vector3.new(0.0666666627, 0.0476190485, 0.0666666627)
539
o43.Name = "Mag1"
540
o43.Parent = o1
541
o43.BrickColor = BrickColor.new("Dark stone grey")
542
o43.Position = Vector3.new(59.7968826, 0.520928979, 191.74855)
543
o43.Rotation = Vector3.new(92.499733, -89.9072189, 92.5024033)
544
o43.Anchored = true
545
o43.CanCollide = false
546
o43.Elasticity = 0
547
o43.FormFactor = Enum.FormFactor.Custom
548
o43.Size = Vector3.new(0.200000003, 0.476190478, 0.200000003)
549
o43.CFrame = CFrame.new(59.7968826, 0.520928979, 191.74855, -1.51542963e-005, -0.000346757675, -0.999998689, 4.36454284e-005, 0.999998331, -0.000346757763, 0.99999696, -4.38391435e-005, -1.51381428e-005)
550
o43.BottomSurface = Enum.SurfaceType.Smooth
551
o43.TopSurface = Enum.SurfaceType.Smooth
552
o43.Color = Color3.new(0.388235, 0.372549, 0.384314)
553
o43.Position = Vector3.new(59.7968826, 0.520928979, 191.74855)
554
o44.Parent = o43
555
o44.Scale = Vector3.new(0.809523821, 1, 0.714285731)
556
o45.Parent = o1
557
o45.BrickColor = BrickColor.new("Black")
558
o45.Position = Vector3.new(59.7963982, 1.28275597, 192.362503)
559
o45.Rotation = Vector3.new(-92.0970917, 89.9051285, 2.09262466)
560
o45.Anchored = true
561
o45.CanCollide = false
562
o45.Elasticity = 0
563
o45.FormFactor = Enum.FormFactor.Symmetric
564
o45.Size = Vector3.new(1, 1, 1)
565
o45.CFrame = CFrame.new(59.7963982, 1.28275597, 192.362503, 0.000420434255, -1.53624314e-005, 0.999998629, -0.999998271, -4.57315873e-005, 0.000420432887, 4.59104012e-005, -0.999996901, -1.53951878e-005)
566
o45.BottomSurface = Enum.SurfaceType.Smooth
567
o45.TopSurface = Enum.SurfaceType.Smooth
568
o45.Color = Color3.new(0.105882, 0.164706, 0.207843)
569
o45.Position = Vector3.new(59.7963982, 1.28275597, 192.362503)
570
o46.Parent = o45
571
o46.Scale = Vector3.new(0.095238097, 0.523809552, 0.238095239)
572
o47.Name = "Part-to-Port Strong Joint"
573
o47.Parent = o45
574
o47.C0 = CFrame.new(-0.5, 0.5, 0.5, -1, 0, 0, 0, 0, 1, 0, 1, -0)
575
o47.C1 = CFrame.new(-0.567365646, 0.454582214, 0.15675354, -0.965815187, -0.259224743, 4.81826173e-005, -0.259224653, 0.965815544, -3.01207638e-006, -4.59400871e-005, -1.53690817e-005, -0.999996901)
576
o47.Part0 = o45
577
o47.Part1 = o87
578
o48.Parent = o1
579
o48.BrickColor = BrickColor.new("Black")
580
o48.Position = Vector3.new(59.7963982, 1.35372806, 191.88652)
581
o48.Rotation = Vector3.new(87.36203, -89.9051285, -2.63255858)
582
o48.Anchored = true
583
o48.CanCollide = false
584
o48.Elasticity = 0
585
o48.FormFactor = Enum.FormFactor.Symmetric
586
o48.Size = Vector3.new(1, 1, 1)
587
o48.CFrame = CFrame.new(59.7963982, 1.35372806, 191.88652, 0.000334117154, 1.53624314e-005, -0.999998629, -0.999998271, 4.57315873e-005, -0.000334115815, 4.59104012e-005, 0.999996901, 1.53940309e-005)
588
o48.BottomSurface = Enum.SurfaceType.Smooth
589
o48.TopSurface = Enum.SurfaceType.Smooth
590
o48.Color = Color3.new(0.105882, 0.164706, 0.207843)
591
o48.Position = Vector3.new(59.7963982, 1.35372806, 191.88652)
592
o49.Parent = o48
593
o49.Scale = Vector3.new(0.238095239, 1.47619045, 0.190476194)
594
o50.Parent = o1
595
o50.BrickColor = BrickColor.new("Black")
596
o50.Position = Vector3.new(59.7963982, 1.23474205, 192.362595)
597
o50.Rotation = Vector3.new(-92.0970917, 89.9051285, 2.09262466)
598
o50.Anchored = true
599
o50.CanCollide = false
600
o50.Elasticity = 0
601
o50.FormFactor = Enum.FormFactor.Symmetric
602
o50.Size = Vector3.new(1, 1, 1)
603
o50.CFrame = CFrame.new(59.7963982, 1.23474205, 192.362595, 0.000420434255, -1.53624314e-005, 0.999998629, -0.999998271, -4.57315873e-005, 0.000420432887, 4.59104012e-005, -0.999996901, -1.53951878e-005)
604
o50.BottomSurface = Enum.SurfaceType.Smooth
605
o50.TopSurface = Enum.SurfaceType.Smooth
606
o50.Color = Color3.new(0.105882, 0.164706, 0.207843)
607
o50.Position = Vector3.new(59.7963982, 1.23474205, 192.362595)
608
o51.Parent = o50
609
o51.Scale = Vector3.new(0.285714298, 0.523809552, 0.238095239)
610
o52.Name = "Part-to-Port Strong Joint"
611
o52.Parent = o50
612
o52.C0 = CFrame.new(-0.5, 0.5, 0.5, -1, 0, 0, 0, 0, 1, 0, 1, -0)
613
o52.C1 = CFrame.new(-0.520986557, 0.467010498, 0.156845093, -0.965815187, -0.259224743, 4.81826173e-005, -0.259224653, 0.965815544, -3.01207638e-006, -4.59400871e-005, -1.53690817e-005, -0.999996901)
614
o52.Part0 = o50
615
o52.Part1 = o87
616
o53.Parent = o1
617
o53.BrickColor = BrickColor.new("Black")
618
o53.Position = Vector3.new(59.7963982, 0.901830018, 191.743729)
619
o53.Rotation = Vector3.new(92.499733, -89.9072189, 92.5024033)
620
o53.Anchored = true
621
o53.CanCollide = false
622
o53.Elasticity = 0
623
o53.FormFactor = Enum.FormFactor.Symmetric
624
o53.Size = Vector3.new(1, 1, 1)
625
o53.CFrame = CFrame.new(59.7963982, 0.901830018, 191.743729, -1.51542963e-005, -0.000346757675, -0.999998689, 4.36454284e-005, 0.999998331, -0.000346757763, 0.99999696, -4.38391435e-005, -1.51381428e-005)
626
o53.BottomSurface = Enum.SurfaceType.Smooth
627
o53.TopSurface = Enum.SurfaceType.Smooth
628
o53.Color = Color3.new(0.105882, 0.164706, 0.207843)
629
o53.Position = Vector3.new(59.7963982, 0.901830018, 191.743729)
630
o54.Parent = o53
631
o54.Scale = Vector3.new(0.238095239, 0.476190478, 0.190476194)
632
o55.Parent = o1
633
o55.BrickColor = BrickColor.new("Black")
634
o55.Position = Vector3.new(59.7963982, 0.734970987, 191.600723)
635
o55.Rotation = Vector3.new(92.499733, -89.9072189, 92.5024033)
636
o55.Anchored = true
637
o55.CanCollide = false
638
o55.Elasticity = 0
639
o55.FormFactor = Enum.FormFactor.Symmetric
640
o55.Size = Vector3.new(1, 1, 1)
641
o55.CFrame = CFrame.new(59.7963982, 0.734970987, 191.600723, -1.51542963e-005, -0.000346757675, -0.999998689, 4.36454284e-005, 0.999998331, -0.000346757763, 0.99999696, -4.38391435e-005, -1.51381428e-005)
642
o55.BottomSurface = Enum.SurfaceType.Smooth
643
o55.TopSurface = Enum.SurfaceType.Smooth
644
o55.Color = Color3.new(0.105882, 0.164706, 0.207843)
645
o55.Position = Vector3.new(59.7963982, 0.734970987, 191.600723)
646
o56.Parent = o55
647
o56.Scale = Vector3.new(0.0476190485, 0.142857149, 0.190476194)
648
o57.Parent = o1
649
o57.BrickColor = BrickColor.new("Black")
650
o57.Position = Vector3.new(59.7963982, 1.18677402, 191.862274)
651
o57.Rotation = Vector3.new(87.36203, -89.9051285, -2.63255858)
652
o57.Anchored = true
653
o57.CanCollide = false
654
o57.Elasticity = 0
655
o57.FormFactor = Enum.FormFactor.Symmetric
656
o57.Size = Vector3.new(1, 1, 1)
657
o57.CFrame = CFrame.new(59.7963982, 1.18677402, 191.862274, 0.000334117154, 1.53624314e-005, -0.999998629, -0.999998271, 4.57315873e-005, -0.000334115815, 4.59104012e-005, 0.999996901, 1.53940309e-005)
658
o57.BottomSurface = Enum.SurfaceType.Smooth
659
o57.TopSurface = Enum.SurfaceType.Smooth
660
o57.Color = Color3.new(0.105882, 0.164706, 0.207843)
661
o57.Position = Vector3.new(59.7963982, 1.18677402, 191.862274)
662
o58.Parent = o57
663
o58.Scale = Vector3.new(0.095238097, 0.476190478, 0.190476194)
664
o59.Parent = o1
665
o59.BrickColor = BrickColor.new("Black")
666
o59.Position = Vector3.new(59.7963982, 1.02874994, 191.2724)
667
o59.Rotation = Vector3.new(90.1920929, -89.9115295, 45.1911354)
668
o59.Anchored = true
669
o59.CanCollide = false
670
o59.Elasticity = 0
671
o59.FormFactor = Enum.FormFactor.Symmetric
672
o59.Size = Vector3.new(1, 1, 1)
673
o59.CFrame = CFrame.new(59.7963982, 1.02874994, 191.2724, 0.00023777863, -0.000239370362, -0.999998808, -0.707081556, 0.707129419, -0.000337401696, 0.707128465, 0.707080603, -1.13121314e-006)
674
o59.BottomSurface = Enum.SurfaceType.Smooth
675
o59.TopSurface = Enum.SurfaceType.Smooth
676
o59.Color = Color3.new(0.105882, 0.164706, 0.207843)
677
o59.Position = Vector3.new(59.7963982, 1.02874994, 191.2724)
678
o60.Parent = o59
679
o60.Scale = Vector3.new(0.0476190485, 0.428571433, 0.095238097)
680
o61.Parent = o1
681
o61.BrickColor = BrickColor.new("Black")
682
o61.Position = Vector3.new(59.7963982, 1.24872303, 191.148514)
683
o61.Rotation = Vector3.new(-90.0032425, -0.0197449103, -89.9991226)
684
o61.Anchored = true
685
o61.CanCollide = false
686
o61.Elasticity = 0
687
o61.FormFactor = Enum.FormFactor.Symmetric
688
o61.Size = Vector3.new(1, 1, 1)
689
o61.CFrame = CFrame.new(59.7963982, 1.24872303, 191.148514, 1.53733763e-005, 0.999998629, -0.000344613683, 5.61921843e-005, 0.000344612228, 0.99999845, 0.999996841, -1.53942347e-005, -5.65051087e-005)
690
o61.BottomSurface = Enum.SurfaceType.Smooth
691
o61.TopSurface = Enum.SurfaceType.Smooth
692
o61.Color = Color3.new(0.105882, 0.164706, 0.207843)
693
o61.Position = Vector3.new(59.7963982, 1.24872303, 191.148514)
694
o62.Parent = o61
695
o62.Scale = Vector3.new(0.190476194, 0.190476194, 0.190476194)
696
o63.Parent = o1
697
o63.BrickColor = BrickColor.new("Black")
698
o63.Position = Vector3.new(59.7963982, 0.972872019, 191.600677)
699
o63.Rotation = Vector3.new(89.9974899, 0.0233648326, 179.997375)
700
o63.Anchored = true
701
o63.CanCollide = false
702
o63.Elasticity = 0
703
o63.FormFactor = Enum.FormFactor.Symmetric
704
o63.Size = Vector3.new(1, 1, 1)
705
o63.CFrame = CFrame.new(59.7963982, 0.972872019, 191.600677, -0.999998629, -4.58807735e-005, 0.000407793239, -0.000407791493, -4.36752307e-005, -0.999998331, 4.58976283e-005, -0.999996901, 4.38391435e-005)
706
o63.BottomSurface = Enum.SurfaceType.Smooth
707
o63.TopSurface = Enum.SurfaceType.Smooth
708
o63.Color = Color3.new(0.105882, 0.164706, 0.207843)
709
o63.Position = Vector3.new(59.7963982, 0.972872019, 191.600677)
710
o64.Parent = o63
711
o64.Scale = Vector3.new(0.190476194, 0.0476190485, 0.333333343)
712
o64.MeshType = Enum.MeshType.Wedge
713
o65.Parent = o1
714
o65.BrickColor = BrickColor.new("Black")
715
o65.Position = Vector3.new(59.7963982, 1.18680406, 191.600357)
716
o65.Rotation = Vector3.new(-90.006012, -0.023364298, -0.00436579948)
717
o65.Anchored = true
718
o65.CanCollide = false
719
o65.Elasticity = 0
720
o65.FormFactor = Enum.FormFactor.Symmetric
721
o65.Size = Vector3.new(1, 1, 1)
722
o65.CFrame = CFrame.new(59.7963982, 1.18680406, 191.600357, 0.999998808, 7.61974879e-005, -0.000407783926, 0.000407791376, -0.000104665582, 0.999998271, 7.61573901e-005, -0.99999702, -0.000104889099)
723
o65.BottomSurface = Enum.SurfaceType.Smooth
724
o65.TopSurface = Enum.SurfaceType.Smooth
725
o65.Color = Color3.new(0.105882, 0.164706, 0.207843)
726
o65.Position = Vector3.new(59.7963982, 1.18680406, 191.600357)
727
o66.Parent = o65
728
o66.Scale = Vector3.new(0.190476194, 0.0476190485, 0.095238097)
729
o66.MeshType = Enum.MeshType.Wedge
730
o67.Parent = o1
731
o67.BrickColor = BrickColor.new("Black")
732
o67.Position = Vector3.new(59.7963982, 1.37776804, 192.671585)
733
o67.Rotation = Vector3.new(-92.0970917, 89.9051285, 2.09262466)
734
o67.Anchored = true
735
o67.CanCollide = false
736
o67.Elasticity = 0
737
o67.FormFactor = Enum.FormFactor.Symmetric
738
o67.Size = Vector3.new(1, 1, 1)
739
o67.CFrame = CFrame.new(59.7963982, 1.37776804, 192.671585, 0.000420434255, -1.53624314e-005, 0.999998629, -0.999998271, -4.57315873e-005, 0.000420432887, 4.59104012e-005, -0.999996901, -1.53951878e-005)
740
o67.BottomSurface = Enum.SurfaceType.Smooth
741
o67.TopSurface = Enum.SurfaceType.Smooth
742
o67.Color = Color3.new(0.105882, 0.164706, 0.207843)
743
o67.Position = Vector3.new(59.7963982, 1.37776804, 192.671585)
744
o68.Parent = o67
745
o68.Scale = Vector3.new(0.142857149, 0.095238097, 0.142857149)
746
o69.Name = "Block"
747
o69.Parent = o1
748
o69.BrickColor = BrickColor.new("Black")
749
o69.Position = Vector3.new(59.7963982, 1.09186399, 191.906616)
750
o69.Rotation = Vector3.new(93.8753433, -89.9072189, -146.128876)
751
o69.Anchored = true
752
o69.CanCollide = false
753
o69.Elasticity = 0
754
o69.FormFactor = Enum.FormFactor.Plate
755
o69.Size = Vector3.new(1, 0.400000006, 1)
756
o69.CFrame = CFrame.new(59.7963982, 1.09186399, 191.906616, -0.000323262677, 0.000216987115, -0.999998689, 0.866047204, -0.499958873, -0.000388443208, -0.499958366, -0.866046071, -2.63134498e-005)
757
o69.BottomSurface = Enum.SurfaceType.Smooth
758
o69.TopSurface = Enum.SurfaceType.Smooth
759
o69.Color = Color3.new(0.105882, 0.164706, 0.207843)
760
o69.Position = Vector3.new(59.7963982, 1.09186399, 191.906616)
761
o70.Parent = o69
762
o70.Scale = Vector3.new(0.142857149, 0.0952381045, 0.0476190485)
763
o71.Name = "NoSight"
764
o71.Parent = o1
765
o71.BrickColor = BrickColor.new("Black")
766
o71.Position = Vector3.new(59.8725815, 1.47276294, 191.243576)
767
o71.Rotation = Vector3.new(179.997513, -0.000881102751, 89.9818802)
768
o71.Anchored = true
769
o71.CanCollide = false
770
o71.Elasticity = 0
771
o71.FormFactor = Enum.FormFactor.Plate
772
o71.Size = Vector3.new(1, 0.400000006, 1)
773
o71.CFrame = CFrame.new(59.8725815, 1.47276294, 191.243576, 0.000316242484, -0.999998629, -1.53781439e-005, -0.999998331, -0.000316241261, -4.36454284e-005, 4.38391435e-005, 1.5393849e-005, -0.99999696)
774
o71.BottomSurface = Enum.SurfaceType.Smooth
775
o71.TopSurface = Enum.SurfaceType.Smooth
776
o71.Color = Color3.new(0.105882, 0.164706, 0.207843)
777
o71.Position = Vector3.new(59.8725815, 1.47276294, 191.243576)
778
o72.Parent = o71
779
o72.Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194)
780
o73.Name = "NoSight"
781
o73.Parent = o1
782
o73.BrickColor = BrickColor.new("Black")
783
o73.Position = Vector3.new(59.8105545, 1.51075399, 192.186325)
784
o73.Rotation = Vector3.new(-87.8741455, 89.9072189, 87.8717728)
785
o73.Anchored = true
786
o73.CanCollide = false
787
o73.Elasticity = 0
788
o73.FormFactor = Enum.FormFactor.Custom
789
o73.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
790
o73.CFrame = CFrame.new(59.8105545, 1.51075399, 192.186325, 1.51542945e-005, -0.000407792773, 0.999998689, -4.36454284e-005, 0.999998331, 0.000407792832, -0.99999696, -4.38391435e-005, 1.51373351e-005)
791
o73.BottomSurface = Enum.SurfaceType.Smooth
792
o73.TopSurface = Enum.SurfaceType.Smooth
793
o73.Color = Color3.new(0.105882, 0.164706, 0.207843)
794
o73.Position = Vector3.new(59.8105545, 1.51075399, 192.186325)
795
o74.Parent = o73
796
o74.Scale = Vector3.new(0.333333224, 0.0476190485, 0.142857105)
797
o74.MeshType = Enum.MeshType.Wedge
798
o75.Name = "Ring"
799
o75.Parent = o1
800
o75.BrickColor = BrickColor.new("Black")
801
o75.Position = Vector3.new(59.7963982, 1.11583996, 191.910538)
802
o75.Rotation = Vector3.new(-96.4217224, 89.9051285, -83.5806656)
803
o75.Anchored = true
804
o75.CanCollide = false
805
o75.Elasticity = 0
806
o75.FormFactor = Enum.FormFactor.Symmetric
807
o75.Size = Vector3.new(1, 1, 1)
808
o75.CFrame = CFrame.new(59.7963982, 1.11583996, 191.910538, 4.58807735e-005, 0.000407793676, 0.999998629, 4.36752307e-005, -0.999998331, 0.000407791085, 0.999996901, 4.38391435e-005, -4.58976101e-005)
809
o75.BottomSurface = Enum.SurfaceType.Smooth
810
o75.TopSurface = Enum.SurfaceType.Smooth
811
o75.Color = Color3.new(0.105882, 0.164706, 0.207843)
812
o75.Position = Vector3.new(59.7963982, 1.11583996, 191.910538)
813
o76.Parent = o75
814
o76.MeshId = "http://www.roblox.com/asset/?id=3270017"
815
o76.Scale = Vector3.new(0.285714298, 0.238095239, 0.238095239)
816
o76.MeshType = Enum.MeshType.FileMesh
817
o77.Name = "NoSight"
818
o77.Parent = o1
819
o77.BrickColor = BrickColor.new("Black")
820
o77.Position = Vector3.new(59.782238, 1.51075399, 192.186325)
821
o77.Rotation = Vector3.new(92.499733, -89.9072189, 92.5024033)
822
o77.Anchored = true
823
o77.CanCollide = false
824
o77.Elasticity = 0
825
o77.FormFactor = Enum.FormFactor.Custom
826
o77.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
827
o77.CFrame = CFrame.new(59.782238, 1.51075399, 192.186325, -1.51542963e-005, -0.000346757675, -0.999998689, 4.36454284e-005, 0.999998331, -0.000346757763, 0.99999696, -4.38391435e-005, -1.51381428e-005)
828
o77.BottomSurface = Enum.SurfaceType.Smooth
829
o77.TopSurface = Enum.SurfaceType.Smooth
830
o77.Color = Color3.new(0.105882, 0.164706, 0.207843)
831
o77.Position = Vector3.new(59.782238, 1.51075399, 192.186325)
832
o78.Parent = o77
833
o78.Scale = Vector3.new(0.333333224, 0.0476190485, 0.142857105)
834
o78.MeshType = Enum.MeshType.Wedge
835
o79.Name = "NoSight"
836
o79.Parent = o1
837
o79.BrickColor = BrickColor.new("Black")
838
o79.Position = Vector3.new(59.8725815, 1.47264397, 192.52829)
839
o79.Rotation = Vector3.new(179.997513, -0.000881102751, 89.9818802)
840
o79.Anchored = true
841
o79.CanCollide = false
842
o79.Elasticity = 0
843
o79.FormFactor = Enum.FormFactor.Plate
844
o79.Size = Vector3.new(1, 0.400000006, 1)
845
o79.CFrame = CFrame.new(59.8725815, 1.47264397, 192.52829, 0.000316242484, -0.999998629, -1.53781439e-005, -0.999998331, -0.000316241261, -4.36454284e-005, 4.38391435e-005, 1.5393849e-005, -0.99999696)
846
o79.BottomSurface = Enum.SurfaceType.Smooth
847
o79.TopSurface = Enum.SurfaceType.Smooth
848
o79.Color = Color3.new(0.105882, 0.164706, 0.207843)
849
o79.Position = Vector3.new(59.8725815, 1.47264397, 192.52829)
850
o80.Parent = o79
851
o80.Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194)
852
o81.Name = "NoSight"
853
o81.Parent = o1
854
o81.BrickColor = BrickColor.new("Black")
855
o81.Position = Vector3.new(59.7963982, 1.48673594, 191.219437)
856
o81.Rotation = Vector3.new(92.499733, -89.9072189, 92.5024033)
857
o81.Anchored = true
858
o81.CanCollide = false
859
o81.Elasticity = 0
860
o81.FormFactor = Enum.FormFactor.Custom
861
o81.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
862
o81.CFrame = CFrame.new(59.7963982, 1.48673594, 191.219437, -1.51542963e-005, -0.000346757675, -0.999998689, 4.36454284e-005, 0.999998331, -0.000346757763, 0.99999696, -4.38391435e-005, -1.51381428e-005)
863
o81.BottomSurface = Enum.SurfaceType.Smooth
864
o81.TopSurface = Enum.SurfaceType.Smooth
865
o81.Color = Color3.new(0.105882, 0.164706, 0.207843)
866
o81.Position = Vector3.new(59.7963982, 1.48673594, 191.219437)
867
o82.Parent = o81
868
o82.Scale = Vector3.new(0.0476190522, 0.190476194, 0.19047603)
869
o83.Name = "A2"
870
o83.Parent = o1
871
o83.BrickColor = BrickColor.new("Dark stone grey")
872
o83.Position = Vector3.new(59.6102676, 1.37655604, 191.886581)
873
o83.Rotation = Vector3.new(-91.287262, 89.9010925, 1.29019773)
874
o83.Anchored = true
875
o83.CanCollide = false
876
o83.Elasticity = 0
877
o83.FormFactor = Enum.FormFactor.Custom
878
o83.Size = Vector3.new(0.200000003, 0.200000003, 1.20000005)
879
o83.CFrame = CFrame.new(59.6102676, 1.37655604, 191.886581, 3.04579735e-005, -6.85974669e-007, 0.99999851, -0.999999583, -1.38607647e-005, 3.04281712e-005, 1.41282026e-005, -0.999998152, -6.83742883e-007)
880
o83.BottomSurface = Enum.SurfaceType.Smooth
881
o83.TopSurface = Enum.SurfaceType.Smooth
882
o83.Color = Color3.new(0.388235, 0.372549, 0.384314)
883
o83.Position = Vector3.new(59.6102676, 1.37655604, 191.886581)
884
o84.Parent = o83
885
o84.Offset = Vector3.new(0, 0, 0.0599999987)
886
o84.Scale = Vector3.new(0.200000003, 0.200000003, 0.0480000004)
887
o85.Name = "A1"
888
o85.Parent = o1
889
o85.BrickColor = BrickColor.new("Black")
890
o85.Position = Vector3.new(59.7102661, 1.37155795, 191.736572)
891
o85.Rotation = Vector3.new(-91.287262, 89.9010925, 1.29019773)
892
o85.Anchored = true
893
o85.CanCollide = false
894
o85.Elasticity = 0
895
o85.FormFactor = Enum.FormFactor.Custom
896
o85.Size = Vector3.new(0.409999967, 0.480000019, 1)
897
o85.CFrame = CFrame.new(59.7102661, 1.37155795, 191.736572, 3.04579735e-005, -6.85974669e-007, 0.99999851, -0.999999583, -1.38607647e-005, 3.04281712e-005, 1.41282026e-005, -0.999998152, -6.83742883e-007)
898
o85.BottomSurface = Enum.SurfaceType.Smooth
899
o85.TopSurface = Enum.SurfaceType.Smooth
900
o85.Color = Color3.new(0.105882, 0.164706, 0.207843)
901
o85.Position = Vector3.new(59.7102661, 1.37155795, 191.736572)
902
o86.Parent = o85
903
o86.Scale = Vector3.new(0.238000005, 1, 0.0480000004)
904
o87.Name = "Port"
905
o87.Parent = o1
906
o87.Material = Enum.Material.SmoothPlastic
907
o87.BrickColor = BrickColor.new("Dark stone grey")
908
o87.Transparency = 1
909
o87.Position = Vector3.new(59.7102661, 1.35256398, 191.705719)
910
o87.Rotation = Vector3.new(1.70019246e-006, 1.49652749e-006, -105)
911
o87.Anchored = true
912
o87.CanCollide = false
913
o87.FormFactor = Enum.FormFactor.Custom
914
o87.Size = Vector3.new(0.200000003, 0.200000003, 0.338461548)
915
o87.CFrame = CFrame.new(59.7102661, 1.35256398, 191.705719, -0.258818984, 0.965925694, 2.61193325e-008, -0.965925694, -0.258818984, -2.96739557e-008, -3.32160077e-008, 9.31242816e-009, 1)
916
o87.BackSurface = Enum.SurfaceType.SmoothNoOutlines
917
o87.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
918
o87.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
919
o87.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
920
o87.RightSurface = Enum.SurfaceType.SmoothNoOutlines
921
o87.TopSurface = Enum.SurfaceType.SmoothNoOutlines
922
o87.Color = Color3.new(0.388235, 0.372549, 0.384314)
923
o87.Position = Vector3.new(59.7102661, 1.35256398, 191.705719)
924
o88.Parent = o87
925
o88.Scale = Vector3.new(0.0769230723, 0.538461506, 1)
926
o89.Name = "Hole"
927
o89.Parent = o1
928
o89.BrickColor = BrickColor.new("Really black")
929
o89.Position = Vector3.new(59.7102661, 1.36658394, 191.736557)
930
o89.Rotation = Vector3.new(-91.287262, 89.9010925, 1.29019773)
931
o89.Anchored = true
932
o89.CanCollide = false
933
o89.Elasticity = 0
934
o89.FormFactor = Enum.FormFactor.Custom
935
o89.Size = Vector3.new(0.399999976, 0.400000036, 1)
936
o89.CFrame = CFrame.new(59.7102661, 1.36658394, 191.736557, 3.04579735e-005, -6.85974669e-007, 0.99999851, -0.999999583, -1.38607647e-005, 3.04281712e-005, 1.41282026e-005, -0.999998152, -6.83742883e-007)
937
o89.BottomSurface = Enum.SurfaceType.Smooth
938
o89.TopSurface = Enum.SurfaceType.Smooth
939
o89.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
940
o89.Position = Vector3.new(59.7102661, 1.36658394, 191.736557)
941
o90.Parent = o89
942
o90.Scale = Vector3.new(0.238095239, 1.19047618, 0.0476190485)
943
o91.Name = "Sil"
944
o91.Parent = o1
945
o91.Material = Enum.Material.SmoothPlastic
946
o91.BrickColor = BrickColor.new("Really black")
947
o91.Position = Vector3.new(59.7909775, 1.38277197, 193.745148)
948
o91.Rotation = Vector3.new(-90, 0, -0)
949
o91.Anchored = true
950
o91.FormFactor = Enum.FormFactor.Custom
951
o91.Size = Vector3.new(0.200000048, 0.200000003, 0.200000003)
952
o91.CFrame = CFrame.new(59.7909775, 1.38277197, 193.745148, 1, 0, 0, 0, 0, 1, 0, -1, -4.37113883e-008)
953
o91.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
954
o91.Position = Vector3.new(59.7909775, 1.38277197, 193.745148)
955
o92.Parent = o91
956
o92.Offset = Vector3.new(0, 0.199000001, 0)
957
o92.Scale = Vector3.new(0.5, 1, 1)
958
o93.Name = "Coloring"
959
o93.Parent = o1
960
table.insert(cors,coroutine.create(function()
961
wait()
962
runDummyScript(function()
963
repeat
964
wait()
965
until script.Parent.Parent.Parent.ClassName == "Player"
966
g = script.Parent:GetChildren()
967
for i = 1,#g do
968-
local Player = game.Players.LocalPlayer
968+
969
		g[i].BrickColor = script.Parent.Parent.Parent.TeamColor
970
	end
971
end
972
973
end,o93)
974
end))
975
o94.Name = "Gun_Script"
976
o94.Parent = o1
977
table.insert(cors,coroutine.create(function()
978
wait()
979
runDummyScript(function()
980
wait(0.5)
981
--Edit settings below--
982
local Tool = script.Parent
983
local Settings = {
984
	Range = 700
985
	,Spread = 5
986
	,Damage = {16, 20}
987
	,HeadShotDamage = {13, 14}
988
	,Bullets = 1
989
	,FireRate = 0.10
990
	,Automatic = true
991
	,AntiTK = false
992
	,ImpactDuration = 3
993
	--Reload
994
	,ReloadKey = "R"
995
	,ReloadTime = 3
996
	,Ammo = 30
997
	,IncludeChamberedBullet = true
998
	--Gui
999
	,GuiPos = Vector2.new(script.Gui.Frame.Position.X.Scale, script.Gui.Frame.Position.Y.Scale)
1000
	--Arms
1001
	,OneHanded = false
1002
	,FakeArms = true
1003
	,FakeArmTransparency = 1
1004
	,RightPos = CFrame.new(-0.75, -0.25, 0.5) * CFrame.Angles(math.rad(-90), 0, 0)
1005
	,LeftPos = CFrame.new(1, 0.5, 0.5) * CFrame.Angles(math.rad(-90), math.rad(45), 0)
1006
	,AimPart = Tool.AimPart
1007
	,AimPartOffset = CFrame.new()
1008
	,AimGripOffset = Vector3.new(0, 0, 0)
1009
	,LeftAimPos = CFrame.new(1, 0.5, 0.5) * CFrame.Angles(math.rad(-100), math.rad(45), 0)
1010
	,AimAnim = {
1011
		Enabled = false
1012
		,Frames = 50
1013
		,Time = 0.1
1014
	}
1015
	,ChangeFOV = {true, 60}
1016
	,SpreadReduction = 3
1017
	--Weld
1018
	,Weld = true
1019
	--Mouse
1020
	,Icons = {
1021
		Idle = "rbxassetid://70288585"
1022
		,Fire1 = "rbxassetid://70288578"
1023
		,Fire2 = "rbxassetid://70288572"
1024
		,Fire3 = "rbxassetid://70288578"
1025
		,Reload = "rbxassetid://70288599"
1026
		,Aim = "rbxasset://textures/Blank.png"
1027
	}
1028
	,FireMouseAnimTime = 0.15
1029
	--Recoil
1030
	,Recoil = math.rad(1.2)
1031
	--Smoke
1032
	,Smoke = true
1033
	,SmokePart = Tool.SmokePart
1034
	,Smokes = {{script.Smoke, 6, 0.1}, {script.Smoke1, 0.1}, {script.Smoke1, 0.1}}
1035
	--Sprint
1036
	,Sprint = true
1037
	,SprintSpeed = 25
1038
	,SprintKey = "0"
1039
	,SprintSpreadIncrease = 40
1040
	,SprintArmOffset = CFrame.new(0.25, 0.125, 0.25) * CFrame.Angles(math.rad(-30), math.rad(35), 0)
1041
	--Other
1042
	,DropHats = false
1043
}
1044
1045
--Do not edit below this lign--
1046
1047
local Orig_Spread = Settings.Spread
1048
local Orig_Grip = Tool.GripPos
1049
1050
local Player = owner
1051
local Character = Player.Character
1052
1053
local Camera = Workspace.CurrentCamera
1054
1055
local Ammo, StoredAmmo = script.Ammo, script.StoredAmmo
1056
1057
local Gui, CanUpdateGui = nil, true
1058
1059
local Sprinting, Equipped
1060
1061
function Update_Gui()
1062
	if Gui and CanUpdateGui then
1063
		Gui.Frame.AmmoDisplay.Text = Ammo.Value .. "|" .. StoredAmmo.Value
1064
	end
1065
end
1066
1067
local Welded
1068
if Settings.Weld then
1069
	Delay(0, function()
1070
		local weldC0s = {}
1071
		for i, v in pairs(Tool:GetChildren()) do
1072
			if v:IsA("BasePart") and v ~= Tool.Handle then
1073
				table.insert(weldC0s, {v, Tool.Handle.CFrame:toObjectSpace(v.CFrame)})
1074
				v.Anchored = false
1075
			end
1076
		end
1077
		Tool.Handle.Anchored = false
1078
		local welds = {}
1079
		Tool.Equipped:connect(function()
1080
			for i, v in ipairs(welds) do
1081
				v.Part1 = nil
1082
				v:Destroy()
1083
			end
1084
			for i, v in ipairs(weldC0s) do
1085
				if v[1] and v[2] then
1086
					local w = Instance.new("Weld", Tool.Handle)
1087
					w.Part0 = Tool.Handle
1088
					w.Part1 = v[1]
1089
					w.C0 = v[2]
1090
					table.insert(welds, w)
1091
				end
1092
			end
1093
		end)
1094
		wait()
1095
		Welded = true
1096
	end)
1097
end
1098
1099
local Left_Weld, Right_Weld
1100
1101
Ammo.Changed:connect(Update_Gui)
1102
StoredAmmo.Changed:connect(Update_Gui)
1103
1104
Settings.Range = math.min(Settings.Range, 999)
1105
1106
local Ignore_Model = Workspace:FindFirstChild("Ray_Ignore") or Instance.new("Model", Workspace)
1107
Ignore_Model.Name = "Ray_Ignore"
1108
1109
local Ray_Ignore = {Character, Ignore_Model, Camera}
1110
1111
Character.Humanoid.Died:connect(function()
1112
	Tool.Parent = Player.Backpack
1113
end)
1114
1115
function Fire(Mouse)
1116
	local Spread = CFrame.Angles(math.rad(math.random(-Settings.Spread, Settings.Spread)/10), math.rad(math.random(-Settings.Spread, Settings.Spread)/10), math.rad(math.random(-Settings.Spread, Settings.Spread)/10))
1117
	local Ray = Ray.new(Character.Head.Position, (CFrame.new(Character.Head.Position, Mouse.Hit.p) * Spread).lookVector.unit * Settings.Range)
1118
	local Hit, Pos = Workspace:FindPartOnRayWithIgnoreList(Ray, Ray_Ignore)
1119
	if Hit and Hit.Parent:FindFirstChild("Humanoid") then
1120
		local Hit_Player = game.Players:GetPlayerFromCharacter(Hit.Parent)
1121
		if Settings.AntiTK and not Hit_Player.Neutral and Hit_Player.TeamColor == Player.TeamColor then
1122
			return
1123
		end
1124
		local Humanoid = Hit.Parent.Humanoid
1125
		local c = Instance.new("ObjectValue")
1126
		c.Name = "creator"
1127
		c.Value = Player
1128
		game.Debris:AddItem(c, 3)
1129
		c.Parent = Humanoid
1130
		if Hit.Name == "Head" then
1131
			Humanoid.Health = Humanoid.Health - math.random(Settings.HeadShotDamage[1], Settings.HeadShotDamage[2])
1132
		else
1133
			Humanoid.Health = Humanoid.Health - math.random(Settings.Damage[1], Settings.Damage[2])
1134
		end
1135
	elseif Hit then
1136
		local Hit_Part = Instance.new("Part", Ignore_Model)
1137
		Hit_Part.FormFactor = "Custom"
1138
		Hit_Part.TopSurface = 0
1139
		Hit_Part.BottomSurface = 0
1140
		Hit_Part.Anchored = true
1141
		Hit_Part.CanCollide = false
1142
		Hit_Part.Size = Vector3.new()
1143
		Hit_Part.CFrame = CFrame.new(Pos) * CFrame.Angles(math.random(0, 360), math.random(0, 360), math.random(0, 360))
1144
		Hit_Part.BrickColor = BrickColor.new("Black")
1145
		game.Debris:AddItem(Hit_Part, Settings.ImpactDuration)
1146
		if not Hit.Anchored then
1147
			local w = Instance.new("Weld", Hit_Part)
1148
			w.Part0 = Hit
1149
			w.Part1 = Hit_Part
1150
			w.C0 = Hit.CFrame:toObjectSpace(Hit_Part.CFrame)
1151
			Hit_Part.Anchored = false
1152
		end
1153
		if Hit.Parent:IsA("Hat") and Settings.DropHats then
1154
			Hit.Parent.Parent = workspace
1155
			game.Debris:AddItem(Hit, 3)
1156
		end
1157
	end
1158
end
1159
1160
local Can_Shoot = true
1161
local Reloading = false
1162
1163
local First_Person = false
1164
1165
local Mouse_Held
1166
1167
Tool.Equipped:connect(function(Mouse)
1168
	Equipped = true
1169
	if Settings.Weld and not Welded then
1170
		wait()
1171
		Tool.Parent = Player.Backpack
1172
	end
1173
	Character = Player.Character
1174
	if Gui then
1175
		return
1176
	end
1177
	Ray_Ignore = {Character, Ignore_Model, Camera}
1178
	Mouse.Icon = Settings.Icons.Idle
1179
	Gui = script.Gui:Clone()
1180
	Gui.Parent = Player.PlayerGui
1181
	Gui.Frame.Position = UDim2.new(Settings.GuiPos.X, Gui.Frame.Position.X.Offset, 1.1, Gui.Frame.Position.Y.Offset)
1182
	Gui.Frame:TweenPosition(UDim2.new(Settings.GuiPos.X, Gui.Frame.Position.X.Offset, Settings.GuiPos.Y, Gui.Frame.Position.Y.Offset), "Out", "Bounce", 1)
1183
	CanUpdateGui = true
1184
	Update_Gui()
1185
	Mouse.Button1Down:connect(function()
1186
		if Can_Shoot and Ammo.Value > 0 and Character.Humanoid.Health > 0 then
1187
			Mouse_Held = true
1188
			while true do
1189
				Can_Shoot = false
1190
				Delay(0, function()
1191
					local t = math.min(Settings.FireMouseAnimTime/3, Settings.FireRate/3)
1192
					if not Aiming then
1193
						Mouse.Icon = Settings.Icons.Fire1
1194
					end
1195
					wait(t)
1196
					if not Aiming then
1197
						if Reloading then return end
1198
						Mouse.Icon = Settings.Icons.Fire2
1199
					end
1200
					wait(t)
1201
					if not Aiming then
1202
						if Reloading then return end
1203
						Mouse.Icon = Settings.Icons.Fire3
1204
					end
1205
					wait(t)
1206
					if not Aiming then
1207
						if Reloading then return end
1208
						Mouse.Icon = Settings.Icons.Idle
1209
					end
1210
				end)
1211
				if Settings.Smoke then
1212
					for i, v in pairs(Settings.Smokes) do
1213
						local s = v[1]:Clone()
1214
						s.Parent = Settings.SmokePart
1215
						s.Enabled = true
1216
						game.Debris:AddItem(s, v[2])
1217
						if v[3] then
1218
							Delay(v[3], function()
1219
								s.Enabled = false
1220
							end)
1221
						end
1222
					end
1223
				end
1224
				for _ = 1, Settings.Bullets do
1225
					Fire(Mouse)
1226
				end
1227
				Camera.CoordinateFrame = CFrame.new(Camera.Focus.p) * (Camera.CoordinateFrame - Camera.CoordinateFrame.p) * CFrame.Angles(math.abs(Settings.Recoil), 0, 0) * CFrame.new(0, 0, (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude)
1228
				if Tool.Handle:FindFirstChild("Shoot") then
1229
					Tool.Handle.Shoot:Play()
1230
				end
1231
				Ammo.Value = Ammo.Value - 1
1232
				wait(Settings.FireRate)
1233
				if not Settings.Automatic or Ammo.Value <= 0 or Character.Humanoid.Health <= 0 or not Mouse_Held then
1234
					break
1235
				end
1236
			end
1237
			Can_Shoot = true
1238
		elseif Can_Shoot and Character.Humanoid.Health > 0 and Tool.Handle:FindFirstChild("Click") then
1239
			Tool.Handle.Click:Play()
1240
		end
1241
	end)
1242
	Mouse.Button1Up:connect(function()
1243
		Mouse_Held = false
1244
	end)
1245
	Mouse.KeyDown:connect(function(Key)
1246
		if Key:upper() == Settings.ReloadKey:upper() and Can_Shoot and StoredAmmo.Value > 0 and not Aiming then
1247
			if Settings.IncludeChamberedBullet and Ammo.Value == Settings.Ammo + 1 or not Settings.IncludeChamberedBullet and Ammo.Value == Settings.Ammo then
1248
				return
1249
			end
1250
			Can_Shoot = false
1251
			Reloading = true
1252
			local TextLabel = Gui.Frame.AmmoDisplay
1253
			Delay(0, function()
1254
				CanUpdateGui = false
1255
				TextLabel.Text = "Reloading."
1256
				wait(Settings.ReloadTime/3)
1257
				if TextLabel then
1258
					TextLabel.Text = "Reloading.."
1259
				end
1260
				wait(Settings.ReloadTime/3)
1261
				if TextLabel then
1262
					TextLabel.Text = "Reloading..."
1263
				end
1264
			end)
1265
			if Tool.Handle:FindFirstChild("Reload") then
1266
				Tool.Handle.Reload:Play()
1267
			end
1268
			Mouse.Icon = Settings.Icons.Reload
1269
			wait(Settings.ReloadTime)
1270
			Mouse.Icon = Settings.Icons.Idle
1271
			CanUpdateGui = true
1272
			local m = Settings.Ammo
1273
			if Ammo.Value > 0 and Settings.IncludeChamberedBullet then
1274
				m = m + 1
1275
			end
1276
			if (StoredAmmo.Value - (m - Ammo.Value)) <= 0 then
1277
				Ammo.Value = Ammo.Value + StoredAmmo.Value
1278
				StoredAmmo.Value = 0
1279
			else
1280
				StoredAmmo.Value = StoredAmmo.Value - (m - Ammo.Value)
1281
				Ammo.Value = m
1282
			end
1283
			Can_Shoot = true
1284
			Reloading = false
1285
		elseif Key:upper() == Settings.SprintKey:upper() and Settings.Sprint and not Aiming then
1286
			Sprinting = true
1287
			Character.Humanoid.WalkSpeed = Settings.SprintSpeed
1288
			Settings.Spread = Settings.Spread + Settings.SprintSpreadIncrease
1289
		end
1290
	end)
1291
	Mouse.KeyUp:connect(function(Key)
1292
		if Key:upper() == Settings.SprintKey:upper() and Sprinting then
1293
			Sprinting = false
1294
			Character.Humanoid.WalkSpeed = 16
1295
			Settings.Spread = Settings.Spread - Settings.SprintSpreadIncrease
1296
			Right_Weld.C0 = CFrame.new(0, -1.5, 0)
1297
		end
1298
	end)
1299
	Mouse.Button2Down:connect(function()
1300
		if not Reloading and not Sprinting and not Aiming and (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 then
1301
			Aiming = true
1302
			Mouse.Icon = Settings.Icons.Aim
1303
			if Settings.AimAnim.Enabled then
1304
				Right_Weld.C1 = CFrame.new()
1305
				Right_Weld.C0 = CFrame.new()
1306
				Delay(0, function()
1307
					Tween_C0(Right_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Right_Weld.C0, Character.Head.CFrame:toObjectSpace(Settings.AimPart.CFrame))
1308
				end)
1309
				Delay(0, function()
1310
					Tween_C1(Left_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Left_Weld.C1, Settings.LeftAimPos)
1311
				end)
1312
				Delay(0, function()
1313
					if Settings.ChangeFOV[1] then
1314
						Camera.FieldOfView = 70
1315
						local Cam_Dif, T_F = 70 - Settings.ChangeFOV[2], Settings.AimAnim.Time * Settings.AimAnim.Frames
1316
						for i = 1, T_F do
1317
							local FOV = 70 - Cam_Dif/T_F * i
1318
							Camera.FieldOfView = FOV
1319
							wait(Settings.AimAnim.Time/Settings.AimAnim.Frames)
1320
							if not Aiming then
1321
								return
1322
							end
1323
						end
1324
						Camera.FieldOfView = Settings.ChangeFOV[2]
1325
					end
1326
				end)
1327
			else
1328
				Right_Weld.C1 = CFrame.new()
1329
				Right_Weld.C0 = CFrame.new()
1330
				Right_Weld.C1 = Character.Head.CFrame:toObjectSpace(Settings.AimPart.CFrame)
1331
				Left_Weld.C1 = Settings.LeftAimPos
1332
				if Settings.ChangeFOV[1] then
1333
					Camera.FieldOfView = Settings.ChangeFOV[2]
1334
				end
1335
			end
1336
			Tool.GripPos = Orig_Grip + Settings.AimGripOffset
1337
			Settings.Spread = Settings.Spread - Settings.SpreadReduction
1338
		end
1339
	end)
1340
	Mouse.Button2Up:connect(function()
1341
		if Aiming then
1342
			Mouse.Icon = Settings.Icons.Idle
1343
			Tool.GripPos = Orig_Grip
1344
			if Settings.AimAnim.Enabled then
1345
				Delay(0, function()
1346
					Tween_C0(Right_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Right_Weld.C0, CFrame.new(0, -1.5, 0))
1347
				end)
1348
				Delay(0, function()
1349
					Tween_C1(Left_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Left_Weld.C1, Settings.LeftPos)
1350
				end)
1351
			else
1352
				Right_Weld.C1 = Settings.RightPos
1353
				Right_Weld.C0 = CFrame.new(0, -1.5, 0)
1354
				Left_Weld.C1 = Settings.LeftPos
1355
			end
1356
			if Settings.ChangeFOV[1] then
1357
				Camera.FieldOfView = 70
1358
			end
1359
			Settings.Spread = Settings.Spread + Settings.SpreadReduction
1360
			Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
1361
			Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
1362
			wait(0.25)
1363
			Aiming = false
1364
		end
1365
	end)
1366
	wait()
1367
	Camera.Changed:connect(function()
1368
		if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 and Equipped then
1369
			Mouse.TargetFilter = workspace
1370
			Character.Torso.Neck.C1 = CFrame.new()
1371
			Character.Torso.Neck.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.asin((Mouse.Hit.p - Mouse.Origin.p).unit.y), 0, 0)
1372
		end
1373
	end)
1374
	Mouse.Idle:connect(function()
1375
		if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 and Equipped then
1376
			Mouse.TargetFilter = workspace
1377
			Character.Torso.Neck.C1 = CFrame.new()
1378
			Character.Torso.Neck.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.asin((Mouse.Hit.p - Mouse.Origin.p).unit.y), 0, 0)
1379
		end
1380
	end)
1381
	while wait() and Equipped do
1382
		if Sprinting then
1383
			Right_Weld.C0 = CFrame.new(0, -1.5, 0) * Settings.SprintArmOffset
1384
			Left_Weld.C0 = CFrame.new(0, -1.5, 0) * Settings.SprintArmOffset
1385
		elseif not Aiming then
1386
			Left_Weld.C0 = CFrame.new(0, -1.5, 0)
1387
		end
1388
		if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude > 1 and Equipped then
1389
			Mouse.TargetFilter = nil
1390
			Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
1391
			Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
1392
		end
1393
	end
1394
end)
1395
1396
local Arms_Made
1397
local Fake_Arm_Right, Fake_Arm_Left, Fake_Arm_Model
1398
1399
Tool.Equipped:connect(function(Mouse)
1400
	if Character and not Arms_Made then
1401
		Arms_Made = true
1402
		local Torso = Character.Torso
1403
		Torso["Right Shoulder"].Part1 = nil
1404
		Left_Weld = Instance.new("Weld", Torso)
1405
		Left_Weld.Name = "Left_Weld"
1406
		Left_Weld.Part0 = Character.Head
1407
		Left_Weld.C0 = CFrame.new(0, -1.5, 0)
1408
		if not Settings.OneHanded then
1409
			Torso["Left Shoulder"].Part1 = nil
1410
			Left_Weld.Part1 = Character["Left Arm"]
1411
		end
1412
		Right_Weld = Instance.new("Weld", Torso)
1413
		Right_Weld.Name = "Right_Weld"
1414
		Right_Weld.Part0 = Character.Head
1415
		Right_Weld.Part1 = Character["Right Arm"]
1416
		Right_Weld.C0 = CFrame.new(0, -1.5, 0)
1417
		Left_Weld.C1 = Settings.LeftPos
1418
		Right_Weld.C1 = Settings.RightPos
1419
	end
1420
	if Settings.FakeArms and not Fake_Arm_Right then
1421
		Fake_Arm_Right, Fake_Arm_Left = Character["Right Arm"]:Clone(), Character["Left Arm"]:Clone()
1422
		Fake_Arm_Right.FormFactor, Fake_Arm_Left.FormFactor = "Custom", "Custom"
1423
		Fake_Arm_Right.Size, Fake_Arm_Left.Size = Vector3.new(), Vector3.new()
1424
		local fakeArms = {Fake_Arm_Right, Fake_Arm_Left}
1425
		for i = 1, 2 do
1426
			local w = Instance.new("Weld", fakeArms[i])
1427
			w.Part0 = Character[fakeArms[i].Name]
1428
			w.Part1 = fakeArms[i]
1429
			fakeArms[i].Transparency = Settings.FakeArmTransparency
1430
		end
1431
		Fake_Arm_Model = Instance.new("Model", Camera)
1432
		Fake_Arm_Right.Parent = Fake_Arm_Model
1433
		if not Settings.OneHanded then
1434
			Fake_Arm_Left.Parent = Fake_Arm_Model
1435
		end
1436
		Fake_Arm_Model.Name = "FakeArms"
1437
		if Settings.CharacterMeshes then
1438
			for i, v in pairs(Character:GetChildren()) do
1439
				if v:IsA("CharacterMesh") and v.BodyPart == Enum.BodyPart.LeftArm or v:IsA("CharacterMesh") and v.BodyPart == Enum.BodyPart.RightArm then
1440
					v:Clone().Parent = Fake_Arm_Model
1441
				end
1442
			end
1443
		end
1444
		if Character:FindFirstChild("Shirt") then
1445
			Instance.new("Humanoid", Fake_Arm_Model)
1446
			Character.Shirt:Clone().Parent = Fake_Arm_Model
1447
		else
1448
			local Arm_Mesh = Instance.new("SpecialMesh", Fake_Arm_Right)
1449
			Arm_Mesh.MeshType, Arm_Mesh.Scale = "Brick", Vector3.new(5, 10, 5)
1450
			local Arm_Mesh2 = Instance.new("SpecialMesh", Fake_Arm_Left)
1451-
	mas1[i].Parent = game:GetService("Players").LocalPlayer.Backpack 
1451+
1452
		end
1453
	end
1454
end)
1455
1456
Tool.Unequipped:connect(function()
1457
	Equipped = false
1458
	Tool.GripPos = Orig_Grip
1459
	Aiming = false
1460
	Settings.Spread = Orig_Spread
1461
	if Settings.ChangeFOV[1] then
1462
		Camera.FieldOfView = 70
1463
	end
1464
	if Gui then
1465
		Gui:Destroy()
1466
		Gui = nil
1467
	end
1468
	for i, v in pairs(Tool.Handle:GetChildren()) do
1469
		if v:IsA("Sound") then
1470
			v:Stop()
1471
		end
1472
	end
1473
	if Fake_Arm_Right and Fake_Arm_Left and Fake_Arm_Model then
1474
		Fake_Arm_Model:Destroy()
1475
		Fake_Arm_Right, Fake_Arm_Left, Fake_Arm_Model = nil, nil, nil
1476
	end
1477
	if Character and Left_Weld and Right_Weld then
1478
		Arms_Made = false
1479
		local Torso = Character.Torso
1480
		Torso["Right Shoulder"].Part1, Torso["Left Shoulder"].Part1 = Character["Right Arm"], Character["Left Arm"]
1481
		Left_Weld:Destroy()
1482
		Right_Weld:Destroy()
1483
	end
1484
	Sprinting = false
1485
	Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
1486
	Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
1487
	Character.Humanoid.WalkSpeed = 16
1488
end)
1489
1490
end,o94)
1491
end))
1492
o95.Name = "Ammo"
1493
o95.Parent = o94
1494
o95.Value = 30
1495
o96.Name = "StoredAmmo"
1496
o96.Parent = o94
1497
o96.Value = 1200
1498
o97.Name = "Gui"
1499
o97.Parent = o94
1500
o98.Parent = o97
1501
o98.Position = UDim2.new(1,-200,1,-100)
1502
o98.Size = UDim2.new(0,100,0,100)
1503
o98.Position = UDim2.new(1,-200,1,-100)
1504
o98.BackgroundColor3 = Color3.new(1, 1, 1)
1505
o98.BackgroundTransparency = 1
1506
o98.BorderSizePixel = 0
1507
o99.Name = "AmmoDisplay"
1508
o99.Parent = o98
1509
o99.Size = UDim2.new(1,0,1,0)
1510
o99.Text = ""
1511
o99.BackgroundTransparency = 1
1512
o99.FontSize = Enum.FontSize.Size24
1513
o99.TextColor3 = Color3.new(0.917647, 0.917647, 0.917647)
1514
o99.TextStrokeTransparency = 0.5
1515
o99.TextXAlignment = Enum.TextXAlignment.Right
1516
o100.Parent = o94
1517
o100.Size = 0.30000001192093
1518
o100.Color = Color3.new(0.372549, 0.372549, 0.372549)
1519
o100.Enabled = false
1520
o100.Opacity = 0.30000001192093
1521
o100.RiseVelocity = 15
1522
o101.Name = "Smoke1"
1523
o101.Parent = o94
1524
o101.Size = 0.10000000149012
1525
o101.Color = Color3.new(1, 0.6, 0.2)
1526
o101.Enabled = false
1527
o101.Opacity = 0.40000000596046
1528
o101.RiseVelocity = 3
1529
mas.Parent = workspace
1530
mas:MakeJoints()
1531
local mas1 = mas:GetChildren()
1532
for i=1,#mas1 do
1533
	mas1[i].Parent = owner.Backpack 
1534
	ypcall(function() mas1[i]:MakeJoints() end)
1535
end
1536
mas:Destroy()
1537
for i=1,#cors do
1538
coroutine.resume(cors[i])
1539
end