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