SHOW:
|
|
- or go back to the newest paste.
1 | if game:GetService("RunService"):IsClient() then error("Please run as a server script. Use h/ instead of hl/.") end | |
2 | print("FE Compatibility code by Mokiros") | |
3 | InternalData = {} | |
4 | do | |
5 | script.Parent = owner.Character | |
6 | local Event = Instance.new("RemoteEvent") | |
7 | Event.Name = "UserInput" | |
8 | local function NewFakeEvent() | |
9 | local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect | |
10 | return Fake | |
11 | end | |
12 | local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()} | |
13 | local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()} | |
14 | local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...) | |
15 | self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil | |
16 | end};ContextActionService.UnBindAction = ContextActionService.BindAction | |
17 | local function TriggerEvent(self,Event,...) | |
18 | local Trigger = Mouse[Event] | |
19 | if Trigger and Trigger.fakeEvent and Trigger.Function then | |
20 | Trigger.Function(...) | |
21 | end | |
22 | end | |
23 | Mouse.TrigEvent = TriggerEvent | |
24 | UserInputService.TrigEvent = TriggerEvent | |
25 | Event.OnServerEvent:Connect(function(FiredBy,Input) | |
26 | if FiredBy.Name ~= owner.Name then end | |
27 | if Input.MouseEvent then | |
28 | Mouse.Target = Input.Target | |
29 | Mouse.Hit = Input.Hit | |
30 | else | |
31 | local Begin = Input.UserInputState == Enum.UserInputState.Begin | |
32 | if Input.UserInputType == Enum.UserInputType.MouseButton1 then | |
33 | return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") | |
34 | end | |
35 | for _,Action in pairs(ContextActionService.Actions) do | |
36 | for _,Key in pairs(Action.Keys) do | |
37 | if Key==Input.KeyCode then | |
38 | Action.Function(Action.Name,Input.UserInputState,Input) | |
39 | end | |
40 | end | |
41 | end | |
42 | Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower()) | |
43 | UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false) | |
44 | end | |
45 | end) | |
46 | InternalData["Mouse"] = Mouse | |
47 | InternalData["ContextActionService"] = ContextActionService | |
48 | InternalData["UserInputService"] = UserInputService | |
49 | Event.Parent = NLS([[ | |
50 | local Player = owner | |
51 | local Event = script:WaitForChild("UserInput") | |
52 | local UserInputService = game:GetService("UserInputService") | |
53 | local Mouse = Player:GetMouse() | |
54 | local Input = function(Input,gameProcessedEvent) | |
55 | if gameProcessedEvent then return end | |
56 | Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState}) | |
57 | end | |
58 | UserInputService.InputBegan:Connect(Input) | |
59 | UserInputService.InputEnded:Connect(Input) | |
60 | local Hit,Target | |
61 | while wait(1/30) do | |
62 | if Hit ~= Mouse.Hit or Target ~= Mouse.Target then | |
63 | Hit,Target = Mouse.Hit,Mouse.Target | |
64 | Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit}) | |
65 | end | |
66 | end | |
67 | ]],owner.Character) | |
68 | end | |
69 | RealGame = game;game = setmetatable({},{ | |
70 | __index = function (self,Index) | |
71 | local Sandbox = function (Thing) | |
72 | if Thing:IsA("Player") then | |
73 | local RealPlayer = Thing | |
74 | return setmetatable({},{ | |
75 | __index = function (self,Index) | |
76 | local Type = type(RealPlayer[Index]) | |
77 | if Type == "function" then | |
78 | if Index:lower() == "getmouse" or Index:lower() == "mouse" then | |
79 | return function (self) | |
80 | return InternalData["Mouse"] | |
81 | end | |
82 | end | |
83 | return function (self,...) | |
84 | return RealPlayer[Index](RealPlayer,...) | |
85 | end | |
86 | else | |
87 | if Index == "PlrObj" then | |
88 | return RealPlayer | |
89 | end | |
90 | return RealPlayer[Index] | |
91 | end | |
92 | end; | |
93 | __tostring = function(self) | |
94 | return RealPlayer.Name | |
95 | end | |
96 | }) | |
97 | end | |
98 | end | |
99 | if RealGame[Index] then | |
100 | local Type = type(RealGame[Index]) | |
101 | if Type == "function" then | |
102 | if Index:lower() == "getservice" or Index:lower() == "service" then | |
103 | return function (self,Service) | |
104 | if Service:lower() == "players" then | |
105 | return setmetatable({},{ | |
106 | __index = function (self2,Index2) | |
107 | local RealService = RealGame:GetService(Service) | |
108 | local Type2 = type(Index2) | |
109 | if Type2 == "function" then | |
110 | return function (self,...) | |
111 | return RealService[Index2](RealService,...) | |
112 | end | |
113 | else | |
114 | if Index2:lower() == "localplayer" then | |
115 | return Sandbox(owner) | |
116 | end | |
117 | return RealService[Index2] | |
118 | end | |
119 | end; | |
120 | __tostring = function(self) | |
121 | return RealGame:GetService(Service).Name | |
122 | end | |
123 | }) | |
124 | elseif Service:lower() == "contextactionservice" then | |
125 | return InternalData["ContextActionService"] | |
126 | elseif Service:lower() == "contextactionservice" then | |
127 | return InternalData["UserInputService"] | |
128 | elseif Service:lower() == "runservice" then | |
129 | return setmetatable({},{ | |
130 | __index = function(self2,Index2) | |
131 | local RealService = RealGame:GetService(Service) | |
132 | local Type2 = type(Index2) | |
133 | if Type2 == "function" then | |
134 | return function (self,...) | |
135 | return RealService[Index2](RealService,...) | |
136 | end | |
137 | else | |
138 | if Index2:lower() == "bindtorenderstep" then | |
139 | return function (self,Name,Priority,Function) | |
140 | return RealGame:GetService("RunService").Stepped:Connect(Function) | |
141 | end | |
142 | end | |
143 | if Index2:lower() == "renderstepped" then | |
144 | return RealService["Stepped"] | |
145 | end | |
146 | return RealService[Index2] | |
147 | end | |
148 | end | |
149 | }) | |
150 | else | |
151 | return RealGame:GetService(Service) | |
152 | end | |
153 | end | |
154 | end | |
155 | return function (self,...) | |
156 | return RealGame[Index](RealGame,...) | |
157 | end | |
158 | else | |
159 | if game:GetService(Index) then | |
160 | return game:GetService(Index) | |
161 | end | |
162 | return RealGame[Index] | |
163 | end | |
164 | else | |
165 | return nil | |
166 | end | |
167 | end | |
168 | });Game = game;owner = game:GetService("Players").LocalPlayer;script = {} | |
169 | print("Complete! Running...") | |
170 | ||
171 | ||
172 | --//Paste script below this line. | |
173 | ||
174 | local player = game.Players.LocalPlayer | |
175 | local char = player.Character | |
176 | local tor = char.Torso | |
177 | local mouse = player:GetMouse() | |
178 | local camera = game.Workspace.CurrentCamera | |
179 | local ra = char['Right Arm'] | |
180 | local la = char['Left Arm'] | |
181 | local ll = char['Left Leg'] | |
182 | local rl = char['Right Leg'] | |
183 | local ammo = 30 | |
184 | local maxammo = 30 | |
185 | local guninfo = "WW2 SMG" | |
186 | local namegun = "M3 Grease Gun" | |
187 | local canmovemouse = false | |
188 | local firing = false | |
189 | local knifing = false | |
190 | local UserInputService = game:GetService("UserInputService") | |
191 | print("Made by matteo101man, no stealing plz paypal.me/matteo101man") | |
192 | function weld(p0,p1,c0) | |
193 | local w=Instance.new("Weld",p0) | |
194 | w.Part0=p0 | |
195 | w.Part1=p1 | |
196 | w.C0=c0 | |
197 | return w | |
198 | end | |
199 | ||
200 | function animate(part,speed,cframe,corout) | |
201 | coroutine.resume(coroutine.create(function() | |
202 | local startCFrame = part.Weld.C0 | |
203 | local endCFrame = cframe | |
204 | for i = 0,1,speed do wait() | |
205 | part.Weld.C0 = startCFrame:lerp(endCFrame,i) | |
206 | end | |
207 | end)) | |
208 | end | |
209 | function animate2(part,speed,cframe,corout) | |
210 | coroutine.resume(coroutine.create(function() | |
211 | local startCFrame = part.Weld.C1 | |
212 | local endCFrame = cframe | |
213 | for i = 0,1,speed do wait() | |
214 | part.Weld.C1 = startCFrame:lerp(endCFrame,i) | |
215 | end | |
216 | end)) | |
217 | end | |
218 | function animate3(part,speed,cframe,corout) | |
219 | coroutine.resume(coroutine.create(function() | |
220 | local startCFrame = part.C1 | |
221 | local endCFrame = cframe | |
222 | for i = 0,1,speed do wait() | |
223 | part.C1 = startCFrame:lerp(endCFrame,i) | |
224 | end | |
225 | end)) | |
226 | end | |
227 | function bleed(victim,speed,amount,velocity) | |
228 | coroutine.resume(coroutine.create(function() | |
229 | for i = 1,amount do wait(speed) | |
230 | local blood = Instance.new("Part",workspace) | |
231 | blood.CanCollide = false | |
232 | blood.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
233 | blood.Transparency = 0 | |
234 | blood.Anchored= false | |
235 | blood.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
236 | blood.Material = Enum.Material.Metal | |
237 | blood.Size = Vector3.new(0.3, 0.3, 0.3) | |
238 | blood.Name = "blood" | |
239 | blood.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
240 | blood.Position = victim.Position | |
241 | blood.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
242 | blood.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
243 | blood.BrickColor = BrickColor.new("Crimson") | |
244 | blood.Friction = 0.3 | |
245 | blood.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
246 | blood.Transparency = 0 | |
247 | ||
248 | if velocity == nil then | |
249 | blood.Velocity = victim.CFrame.lookVector * -30 + Vector3.new(math.random(-10,10),20,math.random(-10,10)) | |
250 | end | |
251 | if velocity ~=nil then | |
252 | blood.Velocity = victim.CFrame.lookVector * velocity + Vector3.new(math.random(-10,10),20,math.random(-10,10)) | |
253 | end | |
254 | blood.RotVelocity = Vector3.new(0,200,0) | |
255 | ||
256 | blood.Touched:connect(function(h) | |
257 | if (not h:isDescendantOf(victim.Parent)) then | |
258 | if h.Name ~= "blood" and h.Name ~="puddle" and h.Parent.Name ~="GreaseGun" and h.Parent.Name ~= "bullethole" and h.Parent:FindFirstChild("Humanoid")==nil then | |
259 | local debounce = false | |
260 | if debounce == false then | |
261 | debounce = true | |
262 | print(h) | |
263 | ||
264 | local puddle = Instance.new("Part", workspace) | |
265 | puddle.FormFactor = Enum.FormFactor.Plate | |
266 | puddle.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
267 | puddle.Transparency = 0.3 | |
268 | puddle.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
269 | puddle.Anchored = false | |
270 | puddle.CanCollide = true | |
271 | puddle.Material = Enum.Material.Metal | |
272 | puddle.Size = Vector3.new(2, 0.1, 2) | |
273 | puddle.Name = "puddle" | |
274 | puddle.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
275 | puddle.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
276 | puddle.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
277 | puddle.BrickColor = BrickColor.new("Crimson") | |
278 | puddle.Friction = 0.3 | |
279 | puddle.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
280 | puddle.Position = blood.Position | |
281 | ||
282 | local mesh = Instance.new("CylinderMesh", puddle) | |
283 | ||
284 | blood:Destroy() | |
285 | wait(1) | |
286 | puddle.Anchored = true | |
287 | puddle.CanCollide = false | |
288 | game.Debris:AddItem(puddle,8) | |
289 | coroutine.resume(coroutine.create(function() | |
290 | wait(.5) | |
291 | while puddle.Transparency <1 do wait(.5) | |
292 | puddle.Mesh.Scale = puddle.Mesh.Scale - Vector3.new(0,0,.1) | |
293 | puddle.Transparency = puddle.Transparency + .05 | |
294 | end | |
295 | end)) | |
296 | end | |
297 | end | |
298 | end | |
299 | end) | |
300 | ||
301 | end | |
302 | ||
303 | end)) | |
304 | end | |
305 | ||
306 | bin=Instance.new('HopperBin',player.Backpack) | |
307 | bin.Name='M3 Grease Gun' | |
308 | ||
309 | bin.Selected:connect(function(mouse) | |
310 | pcall(function() | |
311 | local cancrouch = true | |
312 | canmovemouse = true | |
313 | local crouched = 0 | |
314 | local tool = Instance.new("Tool",char) | |
315 | local greasegun = Instance.new("Model", tool) | |
316 | greasegun.Name = "GreaseGun" | |
317 | ||
318 | local bolt1 = Instance.new("Part", greasegun) | |
319 | bolt1.FormFactor = Enum.FormFactor.Custom | |
320 | bolt1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
321 | bolt1.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
322 | bolt1.Material = Enum.Material.Metal | |
323 | bolt1.Size = Vector3.new(0.2, 0.2, 0.2) | |
324 | bolt1.Name = "Bolt1" | |
325 | bolt1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
326 | bolt1.CFrame = CFrame.new(10.395, 0.967, -66.222)* CFrame.Angles(1.5707968473434, -1.3239678082755e-05, -1.3708879578189e-06) | |
327 | bolt1.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
328 | bolt1.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
329 | bolt1.BrickColor = BrickColor.new("Dark stone grey") | |
330 | bolt1.Friction = 0.3 | |
331 | bolt1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
332 | ||
333 | mesh = Instance.new("CylinderMesh", bolt1) | |
334 | mesh.Scale = Vector3.new(0.48, 0.36, 0.24) | |
335 | ||
336 | local bolt2 = Instance.new("Part", greasegun) | |
337 | bolt2.FormFactor = Enum.FormFactor.Custom | |
338 | bolt2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
339 | bolt2.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
340 | bolt2.Material = Enum.Material.Metal | |
341 | bolt2.Size = Vector3.new(0.2, 0.2, 0.2) | |
342 | bolt2.Name = "Bolt2" | |
343 | bolt2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
344 | bolt2.CFrame = CFrame.new(10.395, 0.967, -66.282)* CFrame.Angles(1.5707968473434, -1.2457372577046e-05, -1.4006889159646e-06) | |
345 | bolt2.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
346 | bolt2.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
347 | bolt2.BrickColor = BrickColor.new("Dark stone grey") | |
348 | bolt2.Friction = 0.3 | |
349 | bolt2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
350 | ||
351 | mesh_2 = Instance.new("CylinderMesh", bolt2) | |
352 | mesh_2.Scale = Vector3.new(0.48, 0.24, 0.3) | |
353 | ||
354 | flash = Instance.new("Part", greasegun) | |
355 | flash.FormFactor = Enum.FormFactor.Symmetric | |
356 | flash.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
357 | flash.Transparency = 1 | |
358 | flash.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
359 | flash.Material = Enum.Material.Metal | |
360 | flash.Size = Vector3.new(1, 1, 1) | |
361 | flash.Name = "Flash" | |
362 | flash.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
363 | flash.CFrame = CFrame.new(12.728, 0.971, -66.06)* CFrame.Angles(-3.1415927410126, 0, -1.5707963705063) | |
364 | flash.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
365 | flash.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
366 | flash.BrickColor = BrickColor.new("Bright orange") | |
367 | flash.Friction = 0.3 | |
368 | flash.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
369 | ||
370 | flash_2 = Instance.new("BillboardGui", flash) | |
371 | flash_2.Active = true | |
372 | flash_2.Name = "Flash" | |
373 | flash_2.Size = UDim2.new(6, 0, 6, 0) | |
374 | ||
375 | flash_3 = Instance.new("ImageLabel", flash_2) | |
376 | flash_3.Visible = false | |
377 | flash_3.Active = true | |
378 | flash_3.Image = "http://www.roblox.com/asset?id=61378273" | |
379 | flash_3.Name = "Flash" | |
380 | flash_3.Position = UDim2.new(0.25, 0, 0.25, 0) | |
381 | flash_3.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
382 | flash_3.BackgroundTransparency = 1 | |
383 | flash_3.Size = UDim2.new(0.5, 0, 0.5, 0) | |
384 | flash_3.BackgroundColor3 = Color3.new(0.756863, 0.752941, 0.764706) | |
385 | ||
386 | local handle = Instance.new("Part", greasegun) | |
387 | handle.FormFactor = Enum.FormFactor.Plate | |
388 | handle.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
389 | handle.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
390 | handle.Material = Enum.Material.Metal | |
391 | handle.Size = Vector3.new(1, 0.4, 1) | |
392 | handle.Name = "Handle" | |
393 | handle.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
394 | handle.CFrame = CFrame.new(9.228, 0.48, -66.06)* CFrame.Angles(4.0789689137455e-07, -1.5707963705063, 0) | |
395 | handle.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
396 | handle.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
397 | handle.BrickColor = BrickColor.new("Black") | |
398 | handle.Friction = 0.3 | |
399 | handle.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
400 | ||
401 | mesh_3 = Instance.new("BlockMesh", handle) | |
402 | mesh_3.Scale = Vector3.new(0.024, 0.167, 0.019) | |
403 | ||
404 | mesh_4 = Instance.new("BlockMesh", mag) | |
405 | mesh_4.Scale = Vector3.new(0.12, 2.333, 0.18) | |
406 | ||
407 | part = Instance.new("Part", greasegun) | |
408 | part.FormFactor = Enum.FormFactor.Custom | |
409 | part.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
410 | part.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
411 | part.Material = Enum.Material.Metal | |
412 | part.Size = Vector3.new(0.24, 0.2, 0.228) | |
413 | part.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
414 | part.CFrame = CFrame.new(10.759, 0.966, -66.065)* CFrame.Angles(1.5707967281342, -1.2248759048816e-05, 1.5708028078079) | |
415 | part.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
416 | part.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
417 | part.BrickColor = BrickColor.new("Dark stone grey") | |
418 | part.Friction = 0.3 | |
419 | part.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
420 | ||
421 | mesh_5 = Instance.new("CylinderMesh", part) | |
422 | mesh_5.Scale = Vector3.new(1.07, 0.24, 1.3) | |
423 | ||
424 | part_2 = Instance.new("Part", greasegun) | |
425 | part_2.FormFactor = Enum.FormFactor.Custom | |
426 | part_2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
427 | part_2.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
428 | part_2.Material = Enum.Material.Metal | |
429 | part_2.Size = Vector3.new(0.2, 0.2, 0.252) | |
430 | part_2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
431 | part_2.CFrame = CFrame.new(10.659, 0.648, -66.065)* CFrame.Angles(4.432671403265e-07, -1.5707963705063, 0) | |
432 | part_2.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
433 | part_2.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
434 | part_2.BrickColor = BrickColor.new("Dark stone grey") | |
435 | part_2.Friction = 0.3 | |
436 | part_2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
437 | ||
438 | mesh_6 = Instance.new("BlockMesh", part_2) | |
439 | mesh_6.Scale = Vector3.new(0.702, 0.66, 1) | |
440 | ||
441 | part_3 = Instance.new("Part", greasegun) | |
442 | part_3.FormFactor = Enum.FormFactor.Custom | |
443 | part_3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
444 | part_3.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
445 | part_3.Material = Enum.Material.Metal | |
446 | part_3.Size = Vector3.new(0.3, 0.2, 0.2) | |
447 | part_3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
448 | part_3.CFrame = CFrame.new(10.797, 0.607, -66.065)* CFrame.Angles(1.8621861386237e-07, -1.5707963705063, 0) | |
449 | part_3.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
450 | part_3.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
451 | part_3.BrickColor = BrickColor.new("Dark stone grey") | |
452 | part_3.Friction = 0.3 | |
453 | part_3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
454 | ||
455 | mesh_7 = Instance.new("SpecialMesh", part_3) | |
456 | mesh_7.Scale = Vector3.new(0.5, 0.24, 0.24) | |
457 | mesh_7.MeshType = Enum.MeshType.Wedge | |
458 | ||
459 | part_4 = Instance.new("Part", greasegun) | |
460 | part_4.FormFactor = Enum.FormFactor.Custom | |
461 | part_4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
462 | part_4.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
463 | part_4.Material = Enum.Material.Metal | |
464 | part_4.Size = Vector3.new(0.24, 0.2, 0.228) | |
465 | part_4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
466 | part_4.CFrame = CFrame.new(11.03, 0.966, -66.065)* CFrame.Angles(1.5707967281342, -1.4452250070462e-05, 1.5708034038544) | |
467 | part_4.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
468 | part_4.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
469 | part_4.BrickColor = BrickColor.new("Dark stone grey") | |
470 | part_4.Friction = 0.3 | |
471 | part_4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
472 | ||
473 | mesh_8 = Instance.new("CylinderMesh", part_4) | |
474 | mesh_8.Scale = Vector3.new(1.07, 0.24, 1.3) | |
475 | ||
476 | part_5 = Instance.new("Part", greasegun) | |
477 | part_5.FormFactor = Enum.FormFactor.Custom | |
478 | part_5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
479 | part_5.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
480 | part_5.Material = Enum.Material.Metal | |
481 | part_5.Size = Vector3.new(0.2, 0.2, 0.2) | |
482 | part_5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
483 | part_5.CFrame = CFrame.new(10.665, 0.6, -66.065)* CFrame.Angles(-3.1415922641754, 1.5707963705063, 0) | |
484 | part_5.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
485 | part_5.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
486 | part_5.BrickColor = BrickColor.new("Dark stone grey") | |
487 | part_5.Friction = 0.3 | |
488 | part_5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
489 | ||
490 | mesh_9 = Instance.new("BlockMesh", part_5) | |
491 | mesh_9.Scale = Vector3.new(0.576, 0.18, 1.008) | |
492 | ||
493 | part_6 = Instance.new("Part", greasegun) | |
494 | part_6.FormFactor = Enum.FormFactor.Custom | |
495 | part_6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
496 | part_6.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
497 | part_6.Material = Enum.Material.Metal | |
498 | part_6.Size = Vector3.new(0.24, 0.2, 0.228) | |
499 | part_6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
500 | part_6.CFrame = CFrame.new(11.01, 0.966, -66.065)* CFrame.Angles(1.5707967281342, -1.4452250070462e-05, 1.5708034038544) | |
501 | part_6.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
502 | part_6.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
503 | part_6.BrickColor = BrickColor.new("Dark stone grey") | |
504 | part_6.Friction = 0.3 | |
505 | part_6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
506 | ||
507 | mesh_10 = Instance.new("CylinderMesh", part_6) | |
508 | mesh_10.Scale = Vector3.new(1.05, 0.24, 1.3) | |
509 | ||
510 | part_7 = Instance.new("Part", greasegun) | |
511 | part_7.FormFactor = Enum.FormFactor.Custom | |
512 | part_7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
513 | part_7.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
514 | part_7.Material = Enum.Material.Metal | |
515 | part_7.Size = Vector3.new(0.24, 0.2, 0.228) | |
516 | part_7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
517 | part_7.CFrame = CFrame.new(10.739, 0.966, -66.065)* CFrame.Angles(1.5707967281342, -1.2248759048816e-05, 1.5708028078079) | |
518 | part_7.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
519 | part_7.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
520 | part_7.BrickColor = BrickColor.new("Dark stone grey") | |
521 | part_7.Friction = 0.3 | |
522 | part_7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
523 | ||
524 | mesh_11 = Instance.new("CylinderMesh", part_7) | |
525 | mesh_11.Scale = Vector3.new(1.05, 0.24, 1.3) | |
526 | ||
527 | part_8 = Instance.new("Part", greasegun) | |
528 | part_8.FormFactor = Enum.FormFactor.Custom | |
529 | part_8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
530 | part_8.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
531 | part_8.Material = Enum.Material.Metal | |
532 | part_8.Size = Vector3.new(0.3, 0.2, 0.2) | |
533 | part_8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
534 | part_8.CFrame = CFrame.new(10.816, 0.832, -66.065)* CFrame.Angles(-3.141592502594, -1.5707963705063, 0) | |
535 | part_8.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
536 | part_8.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
537 | part_8.BrickColor = BrickColor.new("Dark stone grey") | |
538 | part_8.Friction = 0.3 | |
539 | part_8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
540 | ||
541 | mesh_12 = Instance.new("SpecialMesh", part_8) | |
542 | mesh_12.Scale = Vector3.new(0.5, 0.24, 0.36) | |
543 | mesh_12.MeshType = Enum.MeshType.Wedge | |
544 | ||
545 | part_9 = Instance.new("Part", greasegun) | |
546 | part_9.FormFactor = Enum.FormFactor.Custom | |
547 | part_9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
548 | part_9.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
549 | part_9.Material = Enum.Material.Metal | |
550 | part_9.Size = Vector3.new(0.2, 0.2, 0.2) | |
551 | part_9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
552 | part_9.CFrame = CFrame.new(10.883, 1.08, -66.065)* CFrame.Angles(1.5708097219467, -1.0471967458725, 1.5708110332489) | |
553 | part_9.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
554 | part_9.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
555 | part_9.BrickColor = BrickColor.new("Dark stone grey") | |
556 | part_9.Friction = 0.3 | |
557 | part_9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
558 | ||
559 | mesh_13 = Instance.new("BlockMesh", part_9) | |
560 | mesh_13.Scale = Vector3.new(0.252, 0.36, 0.392) | |
561 | ||
562 | part_10 = Instance.new("Part", greasegun) | |
563 | part_10.FormFactor = Enum.FormFactor.Custom | |
564 | part_10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
565 | part_10.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
566 | part_10.Material = Enum.Material.Metal | |
567 | part_10.Size = Vector3.new(0.24, 0.2, 0.228) | |
568 | part_10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
569 | part_10.CFrame = CFrame.new(10.779, 0.966, -66.065)* CFrame.Angles(1.5707967281342, -1.2248759048816e-05, 1.5708028078079) | |
570 | part_10.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
571 | part_10.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
572 | part_10.BrickColor = BrickColor.new("Dark stone grey") | |
573 | part_10.Friction = 0.3 | |
574 | part_10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
575 | ||
576 | mesh_14 = Instance.new("CylinderMesh", part_10) | |
577 | mesh_14.Scale = Vector3.new(1.05, 0.24, 1.3) | |
578 | ||
579 | part_11 = Instance.new("Part", greasegun) | |
580 | part_11.FormFactor = Enum.FormFactor.Custom | |
581 | part_11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
582 | part_11.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
583 | part_11.Material = Enum.Material.Metal | |
584 | part_11.Size = Vector3.new(0.3, 0.2, 0.396) | |
585 | part_11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
586 | part_11.CFrame = CFrame.new(10.647, 0.786, -66.065)* CFrame.Angles(4.432671403265e-07, -1.5707963705063, 0) | |
587 | part_11.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
588 | part_11.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
589 | part_11.BrickColor = BrickColor.new("Dark stone grey") | |
590 | part_11.Friction = 0.3 | |
591 | part_11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
592 | ||
593 | mesh_15 = Instance.new("BlockMesh", part_11) | |
594 | mesh_15.Scale = Vector3.new(0.5, 0.72, 0.7) | |
595 | ||
596 | part_12 = Instance.new("Part", greasegun) | |
597 | part_12.FormFactor = Enum.FormFactor.Custom | |
598 | part_12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
599 | part_12.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
600 | part_12.Material = Enum.Material.Metal | |
601 | part_12.Size = Vector3.new(0.2, 0.2, 0.2) | |
602 | part_12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
603 | part_12.CFrame = CFrame.new(11.091, 0.965, -66.06)* CFrame.Angles(-1.5707963705063, 0, -1.5707963705063) | |
604 | part_12.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
605 | part_12.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
606 | part_12.BrickColor = BrickColor.new("Dark stone grey") | |
607 | part_12.Friction = 0.3 | |
608 | part_12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
609 | ||
610 | mesh_16 = Instance.new("SpecialMesh", part_12) | |
611 | mesh_16.Scale = Vector3.new(0.112, 0.1, 0.112) | |
612 | mesh_16.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
613 | mesh_16.VertexColor = Vector3.new(3.0000000280822e+15, 2.999999954473e+31, 3.0000000280822e+15) | |
614 | mesh_16.MeshType = Enum.MeshType.FileMesh | |
615 | ||
616 | part_13 = Instance.new("Part", greasegun) | |
617 | part_13.FormFactor = Enum.FormFactor.Custom | |
618 | part_13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
619 | part_13.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
620 | part_13.Material = Enum.Material.Metal | |
621 | part_13.Size = Vector3.new(0.2, 0.2, 0.2) | |
622 | part_13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
623 | part_13.CFrame = CFrame.new(8.952, 0.746, -66.16)* CFrame.Angles(1.5707784891129, 1.3089851140976, 1.5708154439926) | |
624 | part_13.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
625 | part_13.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
626 | part_13.BrickColor = BrickColor.new("Dark stone grey") | |
627 | part_13.Friction = 0.3 | |
628 | part_13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
629 | ||
630 | mesh_17 = Instance.new("CylinderMesh", part_13) | |
631 | mesh_17.Scale = Vector3.new(0.25, 0.37, 0.15) | |
632 | ||
633 | part_14 = Instance.new("Part", greasegun) | |
634 | part_14.FormFactor = Enum.FormFactor.Custom | |
635 | part_14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
636 | part_14.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
637 | part_14.Material = Enum.Material.Metal | |
638 | part_14.Size = Vector3.new(0.2, 0.2, 0.2) | |
639 | part_14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
640 | part_14.CFrame = CFrame.new(8.944, 0.346, -66.078)* CFrame.Angles(-1.3089852333069, -4.6491622924805e-06, -3.1415905952454) | |
641 | part_14.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
642 | part_14.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
643 | part_14.BrickColor = BrickColor.new("Dark stone grey") | |
644 | part_14.Friction = 0.3 | |
645 | part_14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
646 | ||
647 | mesh_18 = Instance.new("CylinderMesh", part_14) | |
648 | mesh_18.Scale = Vector3.new(0.25, 0.22, 0.15) | |
649 | ||
650 | part_15 = Instance.new("Part", greasegun) | |
651 | part_15.FormFactor = Enum.FormFactor.Custom | |
652 | part_15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
653 | part_15.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
654 | part_15.Material = Enum.Material.Metal | |
655 | part_15.Size = Vector3.new(0.2, 0.2, 0.2) | |
656 | part_15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
657 | part_15.CFrame = CFrame.new(8.952, 0.746, -65.97)* CFrame.Angles(1.5707784891129, 1.3089851140976, 1.5708154439926) | |
658 | part_15.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
659 | part_15.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
660 | part_15.BrickColor = BrickColor.new("Dark stone grey") | |
661 | part_15.Friction = 0.3 | |
662 | part_15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
663 | ||
664 | mesh_19 = Instance.new("CylinderMesh", part_15) | |
665 | mesh_19.Scale = Vector3.new(0.25, 0.37, 0.15) | |
666 | ||
667 | part_16 = Instance.new("Part", greasegun) | |
668 | part_16.FormFactor = Enum.FormFactor.Custom | |
669 | part_16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
670 | part_16.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
671 | part_16.Material = Enum.Material.Metal | |
672 | part_16.Size = Vector3.new(0.2, 0.2, 0.2) | |
673 | part_16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
674 | part_16.CFrame = CFrame.new(8.984, 0.803, -65.97)* CFrame.Angles(1.5707886219025, 0.78538632392883, 1.5708062648773) | |
675 | part_16.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
676 | part_16.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
677 | part_16.BrickColor = BrickColor.new("Dark stone grey") | |
678 | part_16.Friction = 0.3 | |
679 | part_16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
680 | ||
681 | mesh_20 = Instance.new("CylinderMesh", part_16) | |
682 | mesh_20.Scale = Vector3.new(0.25, 0.37, 0.15) | |
683 | ||
684 | part_17 = Instance.new("Part", greasegun) | |
685 | part_17.FormFactor = Enum.FormFactor.Custom | |
686 | part_17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
687 | part_17.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
688 | part_17.Material = Enum.Material.Metal | |
689 | part_17.Size = Vector3.new(0.204, 0.252, 0.258) | |
690 | part_17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
691 | part_17.CFrame = CFrame.new(10.635, 0.927, -66.065)* CFrame.Angles(1.5707967281342, -1.2248759048816e-05, 1.5708028078079) | |
692 | part_17.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
693 | part_17.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
694 | part_17.BrickColor = BrickColor.new("Dark stone grey") | |
695 | part_17.Friction = 0.3 | |
696 | part_17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
697 | ||
698 | mesh_21 = Instance.new("CylinderMesh", part_17) | |
699 | mesh_21.Scale = Vector3.new(1.05, 1.5, 1.3) | |
700 | ||
701 | part_18 = Instance.new("Part", greasegun) | |
702 | part_18.FormFactor = Enum.FormFactor.Custom | |
703 | part_18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
704 | part_18.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
705 | part_18.Material = Enum.Material.Metal | |
706 | part_18.Size = Vector3.new(0.2, 0.2, 0.2) | |
707 | part_18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
708 | part_18.CFrame = CFrame.new(9.04, 0.835, -66.16)* CFrame.Angles(1.5707945823669, 0.26178762316704, 1.5708031654358) | |
709 | part_18.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
710 | part_18.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
711 | part_18.BrickColor = BrickColor.new("Dark stone grey") | |
712 | part_18.Friction = 0.3 | |
713 | part_18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
714 | ||
715 | mesh_22 = Instance.new("CylinderMesh", part_18) | |
716 | mesh_22.Scale = Vector3.new(0.25, 0.37, 0.15) | |
717 | ||
718 | part_19 = Instance.new("Part", greasegun) | |
719 | part_19.FormFactor = Enum.FormFactor.Custom | |
720 | part_19.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
721 | part_19.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
722 | part_19.Material = Enum.Material.Metal | |
723 | part_19.Size = Vector3.new(0.2, 0.254, 0.2) | |
724 | part_19.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
725 | part_19.CFrame = CFrame.new(8.943, 0.588, -66.16)* CFrame.Angles(-3.1415920257568, 1.5707963705063, 0) | |
726 | part_19.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
727 | part_19.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
728 | part_19.BrickColor = BrickColor.new("Dark stone grey") | |
729 | part_19.Friction = 0.3 | |
730 | part_19.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
731 | ||
732 | mesh_23 = Instance.new("CylinderMesh", part_19) | |
733 | mesh_23.Scale = Vector3.new(0.25, 1, 0.15) | |
734 | ||
735 | part_20 = Instance.new("Part", greasegun) | |
736 | part_20.FormFactor = Enum.FormFactor.Custom | |
737 | part_20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
738 | part_20.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
739 | part_20.Material = Enum.Material.Metal | |
740 | part_20.Size = Vector3.new(0.2, 0.2, 0.2) | |
741 | part_20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
742 | part_20.CFrame = CFrame.new(8.944, 0.429, -66.151)* CFrame.Angles(-0.26178762316704, -1.661479473114e-06, -3.1415863037109) | |
743 | part_20.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
744 | part_20.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
745 | part_20.BrickColor = BrickColor.new("Dark stone grey") | |
746 | part_20.Friction = 0.3 | |
747 | part_20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
748 | ||
749 | mesh_24 = Instance.new("CylinderMesh", part_20) | |
750 | mesh_24.Scale = Vector3.new(0.25, 0.37, 0.15) | |
751 | ||
752 | part_21 = Instance.new("Part", greasegun) | |
753 | part_21.FormFactor = Enum.FormFactor.Custom | |
754 | part_21.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
755 | part_21.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
756 | part_21.Material = Enum.Material.Metal | |
757 | part_21.Size = Vector3.new(0.2, 0.2, 0.2) | |
758 | part_21.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
759 | part_21.CFrame = CFrame.new(8.944, 0.373, -66.119)* CFrame.Angles(-0.78538632392883, -5.4538249969482e-06, -3.141587972641) | |
760 | part_21.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
761 | part_21.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
762 | part_21.BrickColor = BrickColor.new("Dark stone grey") | |
763 | part_21.Friction = 0.3 | |
764 | part_21.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
765 | ||
766 | mesh_25 = Instance.new("CylinderMesh", part_21) | |
767 | mesh_25.Scale = Vector3.new(0.25, 0.37, 0.15) | |
768 | ||
769 | part_22 = Instance.new("Part", greasegun) | |
770 | part_22.FormFactor = Enum.FormFactor.Custom | |
771 | part_22.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
772 | part_22.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
773 | part_22.Material = Enum.Material.Metal | |
774 | part_22.Size = Vector3.new(0.2, 0.2, 0.2) | |
775 | part_22.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
776 | part_22.CFrame = CFrame.new(9.448, 1.118, -66.048)* CFrame.Angles(1.570796251297, -1.1999034541077e-05, 6.6161173890578e-06) | |
777 | part_22.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
778 | part_22.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
779 | part_22.BrickColor = BrickColor.new("Dark stone grey") | |
780 | part_22.Friction = 0.3 | |
781 | part_22.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
782 | ||
783 | mesh_26 = Instance.new("CylinderMesh", part_22) | |
784 | mesh_26.Scale = Vector3.new(0.45, 0.05, 0.2) | |
785 | ||
786 | part_23 = Instance.new("Part", greasegun) | |
787 | part_23.FormFactor = Enum.FormFactor.Custom | |
788 | part_23.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
789 | part_23.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
790 | part_23.Material = Enum.Material.Metal | |
791 | part_23.Size = Vector3.new(0.2, 0.2, 0.2) | |
792 | part_23.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
793 | part_23.CFrame = CFrame.new(9.448, 1.083, -66.065)* CFrame.Angles(1.570796251297, -1.1999034541077e-05, 6.6161173890578e-06) | |
794 | part_23.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
795 | part_23.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
796 | part_23.BrickColor = BrickColor.new("Dark stone grey") | |
797 | part_23.Friction = 0.3 | |
798 | part_23.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
799 | ||
800 | mesh_27 = Instance.new("CylinderMesh", part_23) | |
801 | mesh_27.Scale = Vector3.new(0.45, 0.22, 0.45) | |
802 | ||
803 | part_24 = Instance.new("Part", greasegun) | |
804 | part_24.FormFactor = Enum.FormFactor.Custom | |
805 | part_24.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
806 | part_24.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
807 | part_24.Material = Enum.Material.Metal | |
808 | part_24.Size = Vector3.new(0.2, 0.2, 0.2) | |
809 | part_24.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
810 | part_24.CFrame = CFrame.new(8.944, 0.433, -65.978)* CFrame.Angles(-2.8798050880432, 1.6838312149048e-06, 6.3106454035733e-06) | |
811 | part_24.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
812 | part_24.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
813 | part_24.BrickColor = BrickColor.new("Dark stone grey") | |
814 | part_24.Friction = 0.3 | |
815 | part_24.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
816 | ||
817 | mesh_28 = Instance.new("CylinderMesh", part_24) | |
818 | mesh_28.Scale = Vector3.new(0.25, 0.37, 0.15) | |
819 | ||
820 | part_25 = Instance.new("Part", greasegun) | |
821 | part_25.FormFactor = Enum.FormFactor.Custom | |
822 | part_25.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
823 | part_25.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
824 | part_25.Material = Enum.Material.Metal | |
825 | part_25.Size = Vector3.new(0.2, 0.2, 0.2) | |
826 | part_25.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
827 | part_25.CFrame = CFrame.new(9.04, 0.835, -65.97)* CFrame.Angles(1.5707945823669, 0.26178762316704, 1.5708031654358) | |
828 | part_25.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
829 | part_25.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
830 | part_25.BrickColor = BrickColor.new("Dark stone grey") | |
831 | part_25.Friction = 0.3 | |
832 | part_25.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
833 | ||
834 | mesh_29 = Instance.new("CylinderMesh", part_25) | |
835 | mesh_29.Scale = Vector3.new(0.25, 0.37, 0.15) | |
836 | ||
837 | part_26 = Instance.new("Part", greasegun) | |
838 | part_26.FormFactor = Enum.FormFactor.Custom | |
839 | part_26.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
840 | part_26.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
841 | part_26.Material = Enum.Material.Metal | |
842 | part_26.Size = Vector3.new(0.2, 0.2, 0.2) | |
843 | part_26.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
844 | part_26.CFrame = CFrame.new(8.944, 0.349, -66.051)* CFrame.Angles(-1.8326075077057, 4.6491622924805e-06, 2.0265590592317e-06) | |
845 | part_26.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
846 | part_26.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
847 | part_26.BrickColor = BrickColor.new("Dark stone grey") | |
848 | part_26.Friction = 0.3 | |
849 | part_26.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
850 | ||
851 | mesh_30 = Instance.new("CylinderMesh", part_26) | |
852 | mesh_30.Scale = Vector3.new(0.25, 0.22, 0.15) | |
853 | ||
854 | part_27 = Instance.new("Part", greasegun) | |
855 | part_27.FormFactor = Enum.FormFactor.Custom | |
856 | part_27.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
857 | part_27.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
858 | part_27.Material = Enum.Material.Metal | |
859 | part_27.Size = Vector3.new(0.2, 0.254, 0.2) | |
860 | part_27.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
861 | part_27.CFrame = CFrame.new(8.943, 0.588, -65.97)* CFrame.Angles(-3.1415920257568, 1.5707963705063, 0) | |
862 | part_27.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
863 | part_27.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
864 | part_27.BrickColor = BrickColor.new("Dark stone grey") | |
865 | part_27.Friction = 0.3 | |
866 | part_27.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
867 | ||
868 | mesh_31 = Instance.new("CylinderMesh", part_27) | |
869 | mesh_31.Scale = Vector3.new(0.25, 1, 0.15) | |
870 | ||
871 | part_28 = Instance.new("Part", greasegun) | |
872 | part_28.FormFactor = Enum.FormFactor.Custom | |
873 | part_28.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
874 | part_28.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
875 | part_28.Material = Enum.Material.Metal | |
876 | part_28.Size = Vector3.new(0.2, 0.2, 0.2) | |
877 | part_28.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
878 | part_28.CFrame = CFrame.new(9.122, 0.171, -66.065)* CFrame.Angles(1.5708004236221, -0.52360433340073, 1.2332565120232e-06) | |
879 | part_28.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
880 | part_28.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
881 | part_28.BrickColor = BrickColor.new("Dark stone grey") | |
882 | part_28.Friction = 0.3 | |
883 | part_28.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
884 | ||
885 | mesh_32 = Instance.new("CylinderMesh", part_28) | |
886 | mesh_32.Scale = Vector3.new(0.72, 0.624, 0.528) | |
887 | ||
888 | part_29 = Instance.new("Part", greasegun) | |
889 | part_29.FormFactor = Enum.FormFactor.Custom | |
890 | part_29.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
891 | part_29.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
892 | part_29.Material = Enum.Material.Metal | |
893 | part_29.Size = Vector3.new(0.2, 0.2, 0.2) | |
894 | part_29.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
895 | part_29.CFrame = CFrame.new(8.944, 0.378, -66.01)* CFrame.Angles(-2.3562061786652, 5.4836273193359e-06, 4.5895594666945e-06) | |
896 | part_29.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
897 | part_29.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
898 | part_29.BrickColor = BrickColor.new("Dark stone grey") | |
899 | part_29.Friction = 0.3 | |
900 | part_29.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
901 | ||
902 | mesh_33 = Instance.new("CylinderMesh", part_29) | |
903 | mesh_33.Scale = Vector3.new(0.25, 0.37, 0.15) | |
904 | ||
905 | part_30 = Instance.new("Part", greasegun) | |
906 | part_30.FormFactor = Enum.FormFactor.Custom | |
907 | part_30.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
908 | part_30.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
909 | part_30.Material = Enum.Material.Metal | |
910 | part_30.Size = Vector3.new(0.2, 0.2, 0.204) | |
911 | part_30.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
912 | part_30.CFrame = CFrame.new(9.301, 0.966, -66.065)* CFrame.Angles(1.5707967281342, -1.1742124115699e-05, 1.5708029270172) | |
913 | part_30.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
914 | part_30.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
915 | part_30.BrickColor = BrickColor.new("Dark stone grey") | |
916 | part_30.Friction = 0.3 | |
917 | part_30.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
918 | ||
919 | mesh_34 = Instance.new("CylinderMesh", part_30) | |
920 | mesh_34.Scale = Vector3.new(1.296, 0.74, 1.6) | |
921 | ||
922 | part_31 = Instance.new("Part", greasegun) | |
923 | part_31.FormFactor = Enum.FormFactor.Custom | |
924 | part_31.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
925 | part_31.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
926 | part_31.Material = Enum.Material.Metal | |
927 | part_31.Size = Vector3.new(0.2, 0.2, 0.2) | |
928 | part_31.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
929 | part_31.CFrame = CFrame.new(9.448, 1.118, -66.082)* CFrame.Angles(1.570796251297, -1.1999034541077e-05, 6.6161173890578e-06) | |
930 | part_31.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
931 | part_31.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
932 | part_31.BrickColor = BrickColor.new("Dark stone grey") | |
933 | part_31.Friction = 0.3 | |
934 | part_31.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
935 | ||
936 | mesh_35 = Instance.new("CylinderMesh", part_31) | |
937 | mesh_35.Scale = Vector3.new(0.45, 0.05, 0.2) | |
938 | ||
939 | part_32 = Instance.new("Part", greasegun) | |
940 | part_32.FormFactor = Enum.FormFactor.Custom | |
941 | part_32.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
942 | part_32.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
943 | part_32.Material = Enum.Material.Metal | |
944 | part_32.Size = Vector3.new(0.3, 0.2, 0.2) | |
945 | part_32.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
946 | part_32.CFrame = CFrame.new(9.693, 0.529, -66.065)* CFrame.Angles(-1.5708023309708, -0.78538727760315, -1.5708054304123) | |
947 | part_32.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
948 | part_32.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
949 | part_32.BrickColor = BrickColor.new("Dark stone grey") | |
950 | part_32.Friction = 0.3 | |
951 | part_32.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
952 | ||
953 | mesh_36 = Instance.new("BlockMesh", part_32) | |
954 | mesh_36.Scale = Vector3.new(0.4, 0.42, 0.126) | |
955 | ||
956 | part_33 = Instance.new("Part", greasegun) | |
957 | part_33.FormFactor = Enum.FormFactor.Custom | |
958 | part_33.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
959 | part_33.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
960 | part_33.Material = Enum.Material.Metal | |
961 | part_33.Size = Vector3.new(0.2, 0.2, 0.612) | |
962 | part_33.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
963 | part_33.CFrame = CFrame.new(10.047, 0.966, -66.167)* CFrame.Angles(-3.1415922641754, 1.5707963705063, 0) | |
964 | part_33.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
965 | part_33.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
966 | part_33.BrickColor = BrickColor.new("Really black") | |
967 | part_33.Friction = 0.3 | |
968 | part_33.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
969 | ||
970 | mesh_37 = Instance.new("BlockMesh", part_33) | |
971 | mesh_37.Scale = Vector3.new(0.18, 0.18, 1.2) | |
972 | ||
973 | part_34 = Instance.new("Part", greasegun) | |
974 | part_34.FormFactor = Enum.FormFactor.Custom | |
975 | part_34.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
976 | part_34.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
977 | part_34.Material = Enum.Material.Metal | |
978 | part_34.Size = Vector3.new(0.3, 0.2, 0.2) | |
979 | part_34.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
980 | part_34.CFrame = CFrame.new(9.566, 0.694, -66.065)* CFrame.Angles(1.5708205699921, -1.3089945316315, 1.5708209276199) | |
981 | part_34.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
982 | part_34.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
983 | part_34.BrickColor = BrickColor.new("Dark stone grey") | |
984 | part_34.Friction = 0.3 | |
985 | part_34.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
986 | ||
987 | mesh_38 = Instance.new("BlockMesh", part_34) | |
988 | mesh_38.Scale = Vector3.new(0.3, 0.72, 0.126) | |
989 | ||
990 | part_35 = Instance.new("Part", greasegun) | |
991 | part_35.FormFactor = Enum.FormFactor.Custom | |
992 | part_35.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
993 | part_35.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
994 | part_35.Material = Enum.Material.Metal | |
995 | part_35.Size = Vector3.new(0.3, 0.2, 0.2) | |
996 | part_35.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
997 | part_35.CFrame = CFrame.new(9.729, 0.595, -66.065)* CFrame.Angles(-1.5708203315735, -1.3089950084686, -1.5708215236664) | |
998 | part_35.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
999 | part_35.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1000 | part_35.BrickColor = BrickColor.new("Dark stone grey") | |
1001 | part_35.Friction = 0.3 | |
1002 | part_35.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1003 | ||
1004 | mesh_39 = Instance.new("BlockMesh", part_35) | |
1005 | mesh_39.Scale = Vector3.new(0.4, 0.48, 0.126) | |
1006 | ||
1007 | part_36 = Instance.new("Part", greasegun) | |
1008 | part_36.FormFactor = Enum.FormFactor.Custom | |
1009 | part_36.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1010 | part_36.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1011 | part_36.Material = Enum.Material.Metal | |
1012 | part_36.Size = Vector3.new(0.3, 0.2, 0.2) | |
1013 | part_36.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1014 | part_36.CFrame = CFrame.new(9.608, 0.598, -66.065)* CFrame.Angles(1.5708051919937, -0.90757036209106, 1.5708069801331) | |
1015 | part_36.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1016 | part_36.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1017 | part_36.BrickColor = BrickColor.new("Dark stone grey") | |
1018 | part_36.Friction = 0.3 | |
1019 | part_36.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1020 | ||
1021 | mesh_40 = Instance.new("BlockMesh", part_36) | |
1022 | mesh_40.Scale = Vector3.new(0.3, 0.42, 0.126) | |
1023 | ||
1024 | part_37 = Instance.new("Part", greasegun) | |
1025 | part_37.FormFactor = Enum.FormFactor.Custom | |
1026 | part_37.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1027 | part_37.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1028 | part_37.Material = Enum.Material.Metal | |
1029 | part_37.Size = Vector3.new(0.2, 0.588, 0.276) | |
1030 | part_37.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1031 | part_37.CFrame = CFrame.new(9.285, 0.438, -66.065)* CFrame.Angles(-1.5708187818527, -1.3089897632599, -1.5708215236664) | |
1032 | part_37.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1033 | part_37.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1034 | part_37.BrickColor = BrickColor.new("Dark stone grey") | |
1035 | part_37.Friction = 0.3 | |
1036 | part_37.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1037 | ||
1038 | mesh_41 = Instance.new("BlockMesh", part_37) | |
1039 | mesh_41.Scale = Vector3.new(0.624, 1, 1) | |
1040 | ||
1041 | part_38 = Instance.new("Part", greasegun) | |
1042 | part_38.FormFactor = Enum.FormFactor.Custom | |
1043 | part_38.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1044 | part_38.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1045 | part_38.Material = Enum.Material.Metal | |
1046 | part_38.Size = Vector3.new(0.2, 0.2, 0.2) | |
1047 | part_38.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1048 | part_38.CFrame = CFrame.new(9.412, 0.569, -66.065)* CFrame.Angles(1.5707968473434, -1.3038515135122e-05, -1.1622724969129e-06) | |
1049 | part_38.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1050 | part_38.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1051 | part_38.BrickColor = BrickColor.new("Dark stone grey") | |
1052 | part_38.Friction = 0.3 | |
1053 | part_38.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1054 | ||
1055 | mesh_42 = Instance.new("CylinderMesh", part_38) | |
1056 | mesh_42.Scale = Vector3.new(0.72, 0.624, 0.462) | |
1057 | ||
1058 | part_39 = Instance.new("Part", greasegun) | |
1059 | part_39.FormFactor = Enum.FormFactor.Custom | |
1060 | part_39.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1061 | part_39.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1062 | part_39.Material = Enum.Material.Metal | |
1063 | part_39.Size = Vector3.new(0.2, 0.456, 0.2) | |
1064 | part_39.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1065 | part_39.CFrame = CFrame.new(9.279, 0.428, -66.065)* CFrame.Angles(-1.5708186626434, -1.3089897632599, -1.5708215236664) | |
1066 | part_39.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1067 | part_39.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1068 | part_39.BrickColor = BrickColor.new("Black") | |
1069 | part_39.Friction = 0.3 | |
1070 | part_39.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1071 | ||
1072 | mesh_43 = Instance.new("BlockMesh", part_39) | |
1073 | mesh_43.Scale = Vector3.new(0.702, 1, 0.84) | |
1074 | ||
1075 | part_40 = Instance.new("Part", greasegun) | |
1076 | part_40.FormFactor = Enum.FormFactor.Custom | |
1077 | part_40.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1078 | part_40.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1079 | part_40.Material = Enum.Material.Metal | |
1080 | part_40.Size = Vector3.new(0.3, 0.2, 0.2) | |
1081 | part_40.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1082 | part_40.CFrame = CFrame.new(9.574, 0.505, -66.065)* CFrame.Angles(-1.5707958936691, 1.2375417099975e-05, -1.5708029270172) | |
1083 | part_40.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1084 | part_40.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1085 | part_40.BrickColor = BrickColor.new("Dark stone grey") | |
1086 | part_40.Friction = 0.3 | |
1087 | part_40.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1088 | ||
1089 | mesh_44 = Instance.new("BlockMesh", part_40) | |
1090 | mesh_44.Scale = Vector3.new(0.4, 0.72, 0.126) | |
1091 | ||
1092 | part_41 = Instance.new("Part", greasegun) | |
1093 | part_41.FormFactor = Enum.FormFactor.Custom | |
1094 | part_41.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1095 | part_41.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1096 | part_41.Material = Enum.Material.Metal | |
1097 | part_41.Size = Vector3.new(0.3, 0.2, 0.2) | |
1098 | part_41.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1099 | part_41.CFrame = CFrame.new(9.771, 0.655, -66.065)* CFrame.Angles(-3.141592502594, -1.5707963705063, 0) | |
1100 | part_41.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1101 | part_41.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1102 | part_41.BrickColor = BrickColor.new("Dark stone grey") | |
1103 | part_41.Friction = 0.3 | |
1104 | part_41.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1105 | ||
1106 | mesh_45 = Instance.new("SpecialMesh", part_41) | |
1107 | mesh_45.Scale = Vector3.new(0.5, 0.3, 0.3) | |
1108 | mesh_45.MeshType = Enum.MeshType.Wedge | |
1109 | ||
1110 | part_42 = Instance.new("Part", greasegun) | |
1111 | part_42.FormFactor = Enum.FormFactor.Custom | |
1112 | part_42.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1113 | part_42.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1114 | part_42.Material = Enum.Material.Metal | |
1115 | part_42.Size = Vector3.new(0.456, 0.2, 0.984) | |
1116 | part_42.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1117 | part_42.CFrame = CFrame.new(9.765, 0.775, -66.065)* CFrame.Angles(4.432671403265e-07, -1.5707963705063, 0) | |
1118 | part_42.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1119 | part_42.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1120 | part_42.BrickColor = BrickColor.new("Dark stone grey") | |
1121 | part_42.Friction = 0.3 | |
1122 | part_42.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1123 | ||
1124 | mesh_46 = Instance.new("BlockMesh", part_42) | |
1125 | mesh_46.Scale = Vector3.new(0.29, 0.96, 1.1) | |
1126 | ||
1127 | part_43 = Instance.new("Part", greasegun) | |
1128 | part_43.FormFactor = Enum.FormFactor.Custom | |
1129 | part_43.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1130 | part_43.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1131 | part_43.Material = Enum.Material.Metal | |
1132 | part_43.Size = Vector3.new(0.2, 0.228, 0.204) | |
1133 | part_43.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1134 | part_43.CFrame = CFrame.new(9.447, 0.966, -66.065)* CFrame.Angles(1.5707967281342, -1.1742124115699e-05, 1.5708029270172) | |
1135 | part_43.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1136 | part_43.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1137 | part_43.BrickColor = BrickColor.new("Dark stone grey") | |
1138 | part_43.Friction = 0.3 | |
1139 | part_43.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1140 | ||
1141 | mesh_47 = Instance.new("CylinderMesh", part_43) | |
1142 | mesh_47.Scale = Vector3.new(1.248, 1, 1.15) | |
1143 | ||
1144 | part_44 = Instance.new("Part", greasegun) | |
1145 | part_44.FormFactor = Enum.FormFactor.Custom | |
1146 | part_44.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1147 | part_44.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1148 | part_44.Material = Enum.Material.Metal | |
1149 | part_44.Size = Vector3.new(0.2, 0.2, 0.3) | |
1150 | part_44.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1151 | part_44.CFrame = CFrame.new(9.333, 0.643, -66.065)* CFrame.Angles(1.5708209276199, -1.3089959621429, 1.5708196163177) | |
1152 | part_44.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1153 | part_44.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1154 | part_44.BrickColor = BrickColor.new("Dark stone grey") | |
1155 | part_44.Friction = 0.3 | |
1156 | part_44.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1157 | ||
1158 | mesh_48 = Instance.new("BlockMesh", part_44) | |
1159 | mesh_48.Scale = Vector3.new(0.624, 0.528, 1) | |
1160 | ||
1161 | part_45 = Instance.new("Part", greasegun) | |
1162 | part_45.FormFactor = Enum.FormFactor.Custom | |
1163 | part_45.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1164 | part_45.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1165 | part_45.Material = Enum.Material.Metal | |
1166 | part_45.Size = Vector3.new(0.3, 0.2, 0.2) | |
1167 | part_45.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1168 | part_45.CFrame = CFrame.new(9.46, 0.615, -66.065)* CFrame.Angles(2.2160732271459e-07, -1.5707963705063, 0) | |
1169 | part_45.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1170 | part_45.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1171 | part_45.BrickColor = BrickColor.new("Dark stone grey") | |
1172 | part_45.Friction = 0.3 | |
1173 | part_45.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1174 | ||
1175 | mesh_49 = Instance.new("BlockMesh", part_45) | |
1176 | mesh_49.Scale = Vector3.new(0.4, 0.48, 0.126) | |
1177 | ||
1178 | part_46 = Instance.new("Part", greasegun) | |
1179 | part_46.FormFactor = Enum.FormFactor.Custom | |
1180 | part_46.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1181 | part_46.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1182 | part_46.Material = Enum.Material.Metal | |
1183 | part_46.Size = Vector3.new(0.312, 0.2, 0.2) | |
1184 | part_46.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1185 | part_46.CFrame = CFrame.new(9.482, 0.534, -66.065)* CFrame.Angles(-1.5707845687866, 1.0471956729889, -1.5708096027374) | |
1186 | part_46.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1187 | part_46.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1188 | part_46.BrickColor = BrickColor.new("Dark stone grey") | |
1189 | part_46.Friction = 0.3 | |
1190 | part_46.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1191 | ||
1192 | mesh_50 = Instance.new("BlockMesh", part_46) | |
1193 | mesh_50.Scale = Vector3.new(0.4, 0.42, 0.126) | |
1194 | ||
1195 | part_47 = Instance.new("Part", greasegun) | |
1196 | part_47.FormFactor = Enum.FormFactor.Custom | |
1197 | part_47.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1198 | part_47.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1199 | part_47.Material = Enum.Material.Metal | |
1200 | part_47.Size = Vector3.new(0.2, 0.252, 0.2) | |
1201 | part_47.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1202 | part_47.CFrame = CFrame.new(9.825, 1.014, -66.161)* CFrame.Angles(-2.6878042221069, 1.5707963705063, 0) | |
1203 | part_47.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1204 | part_47.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1205 | part_47.BrickColor = BrickColor.new("Really black") | |
1206 | part_47.Friction = 0.3 | |
1207 | part_47.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1208 | ||
1209 | mesh_51 = Instance.new("BlockMesh", part_47) | |
1210 | mesh_51.Scale = Vector3.new(0.144, 0.35, 0.288) | |
1211 | ||
1212 | part_48 = Instance.new("Part", greasegun) | |
1213 | part_48.FormFactor = Enum.FormFactor.Custom | |
1214 | part_48.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1215 | part_48.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1216 | part_48.Material = Enum.Material.Metal | |
1217 | part_48.Size = Vector3.new(0.2, 0.2, 0.2) | |
1218 | part_48.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1219 | part_48.CFrame = CFrame.new(10.065, 1.083, -66.08)* CFrame.Angles(1.5707967281342, -1.1742124115699e-05, 1.5708029270172) | |
1220 | part_48.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1221 | part_48.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1222 | part_48.BrickColor = BrickColor.new("Dark stone grey") | |
1223 | part_48.Friction = 0.3 | |
1224 | part_48.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1225 | ||
1226 | mesh_52 = Instance.new("CylinderMesh", part_48) | |
1227 | mesh_52.Scale = Vector3.new(0.275, 0.05, 0.165) | |
1228 | ||
1229 | part_49 = Instance.new("Part", greasegun) | |
1230 | part_49.FormFactor = Enum.FormFactor.Custom | |
1231 | part_49.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1232 | part_49.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1233 | part_49.Material = Enum.Material.Metal | |
1234 | part_49.Size = Vector3.new(0.456, 0.2, 1.056) | |
1235 | part_49.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1236 | part_49.CFrame = CFrame.new(9.813, 0.84, -66.065)* CFrame.Angles(4.432671403265e-07, -1.5707963705063, 0) | |
1237 | part_49.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1238 | part_49.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1239 | part_49.BrickColor = BrickColor.new("Dark stone grey") | |
1240 | part_49.Friction = 0.3 | |
1241 | part_49.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1242 | ||
1243 | mesh_53 = Instance.new("BlockMesh", part_49) | |
1244 | mesh_53.Scale = Vector3.new(0.4, 0.96, 1.1) | |
1245 | ||
1246 | part_50 = Instance.new("Part", greasegun) | |
1247 | part_50.FormFactor = Enum.FormFactor.Custom | |
1248 | part_50.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1249 | part_50.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1250 | part_50.Material = Enum.Material.Metal | |
1251 | part_50.Size = Vector3.new(0.2, 0.894, 0.2) | |
1252 | part_50.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1253 | part_50.CFrame = CFrame.new(9.518, 0.843, -66.165)* CFrame.Angles(1.5707967281342, -1.1742124115699e-05, 1.5708029270172) | |
1254 | part_50.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1255 | part_50.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1256 | part_50.BrickColor = BrickColor.new("Dark stone grey") | |
1257 | part_50.Friction = 0.3 | |
1258 | part_50.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1259 | ||
1260 | mesh_54 = Instance.new("CylinderMesh", part_50) | |
1261 | mesh_54.Scale = Vector3.new(0.2, 1, 0.15) | |
1262 | ||
1263 | part_51 = Instance.new("Part", greasegun) | |
1264 | part_51.FormFactor = Enum.FormFactor.Custom | |
1265 | part_51.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1266 | part_51.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1267 | part_51.Material = Enum.Material.Metal | |
1268 | part_51.Size = Vector3.new(0.2, 0.2, 0.2) | |
1269 | part_51.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1270 | part_51.CFrame = CFrame.new(9.208, 0.151, -66.065)* CFrame.Angles(-1.5708175897598, -1.3089907169342, -1.5708202123642) | |
1271 | part_51.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1272 | part_51.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1273 | part_51.BrickColor = BrickColor.new("Dark stone grey") | |
1274 | part_51.Friction = 0.3 | |
1275 | part_51.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1276 | ||
1277 | mesh_55 = Instance.new("BlockMesh", part_51) | |
1278 | mesh_55.Scale = Vector3.new(0.624, 0.6, 0.93) | |
1279 | ||
1280 | part_52 = Instance.new("Part", greasegun) | |
1281 | part_52.FormFactor = Enum.FormFactor.Custom | |
1282 | part_52.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1283 | part_52.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1284 | part_52.Material = Enum.Material.Metal | |
1285 | part_52.Size = Vector3.new(0.3, 0.2, 0.2) | |
1286 | part_52.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1287 | part_52.CFrame = CFrame.new(9.634, 0.505, -66.065)* CFrame.Angles(-1.5707958936691, 1.2375417099975e-05, -1.5708029270172) | |
1288 | part_52.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1289 | part_52.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1290 | part_52.BrickColor = BrickColor.new("Dark stone grey") | |
1291 | part_52.Friction = 0.3 | |
1292 | part_52.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1293 | ||
1294 | mesh_56 = Instance.new("BlockMesh", part_52) | |
1295 | mesh_56.Scale = Vector3.new(0.4, 0.42, 0.126) | |
1296 | ||
1297 | part_53 = Instance.new("Part", greasegun) | |
1298 | part_53.FormFactor = Enum.FormFactor.Custom | |
1299 | part_53.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1300 | part_53.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1301 | part_53.Material = Enum.Material.Metal | |
1302 | part_53.Size = Vector3.new(0.3, 0.2, 0.2) | |
1303 | part_53.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1304 | part_53.CFrame = CFrame.new(9.711, 0.655, -66.065)* CFrame.Angles(-3.1415922641754, 1.5707963705063, 0) | |
1305 | part_53.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1306 | part_53.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1307 | part_53.BrickColor = BrickColor.new("Dark stone grey") | |
1308 | part_53.Friction = 0.3 | |
1309 | part_53.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1310 | ||
1311 | mesh_57 = Instance.new("SpecialMesh", part_53) | |
1312 | mesh_57.Scale = Vector3.new(0.5, 0.3, 0.3) | |
1313 | mesh_57.MeshType = Enum.MeshType.Wedge | |
1314 | ||
1315 | part_54 = Instance.new("Part", greasegun) | |
1316 | part_54.FormFactor = Enum.FormFactor.Custom | |
1317 | part_54.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1318 | part_54.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1319 | part_54.Material = Enum.Material.Metal | |
1320 | part_54.Size = Vector3.new(0.3, 0.2, 0.2) | |
1321 | part_54.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1322 | part_54.CFrame = CFrame.new(9.472, 0.669, -66.065)* CFrame.Angles(-1.5708074569702, -1.0471906661987, -1.5708094835281) | |
1323 | part_54.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1324 | part_54.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1325 | part_54.BrickColor = BrickColor.new("Dark stone grey") | |
1326 | part_54.Friction = 0.3 | |
1327 | part_54.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1328 | ||
1329 | mesh_58 = Instance.new("BlockMesh", part_54) | |
1330 | mesh_58.Scale = Vector3.new(0.4, 0.3, 0.126) | |
1331 | ||
1332 | part_55 = Instance.new("Part", greasegun) | |
1333 | part_55.FormFactor = Enum.FormFactor.Custom | |
1334 | part_55.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1335 | part_55.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1336 | part_55.Material = Enum.Material.Metal | |
1337 | part_55.Size = Vector3.new(0.2, 0.894, 0.2) | |
1338 | part_55.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1339 | part_55.CFrame = CFrame.new(9.518, 0.843, -65.97)* CFrame.Angles(1.5707967281342, -1.1742124115699e-05, 1.5708029270172) | |
1340 | part_55.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1341 | part_55.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1342 | part_55.BrickColor = BrickColor.new("Dark stone grey") | |
1343 | part_55.Friction = 0.3 | |
1344 | part_55.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1345 | ||
1346 | mesh_59 = Instance.new("CylinderMesh", part_55) | |
1347 | mesh_59.Scale = Vector3.new(0.25, 1, 0.15) | |
1348 | ||
1349 | part_56 = Instance.new("Part", greasegun) | |
1350 | part_56.FormFactor = Enum.FormFactor.Custom | |
1351 | part_56.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1352 | part_56.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1353 | part_56.Material = Enum.Material.Metal | |
1354 | part_56.Size = Vector3.new(0.2, 0.2, 0.2) | |
1355 | part_56.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1356 | part_56.CFrame = CFrame.new(9.855, 1.027, -66.132)* CFrame.Angles(2.0245847702026, -1.1810625437647e-05, 4.2020492401207e-06) | |
1357 | part_56.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1358 | part_56.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1359 | part_56.BrickColor = BrickColor.new("Really black") | |
1360 | part_56.Friction = 0.3 | |
1361 | part_56.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1362 | ||
1363 | mesh_60 = Instance.new("CylinderMesh", part_56) | |
1364 | mesh_60.Scale = Vector3.new(0.48, 0.36, 0.24) | |
1365 | ||
1366 | part_57 = Instance.new("Part", greasegun) | |
1367 | part_57.FormFactor = Enum.FormFactor.Custom | |
1368 | part_57.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1369 | part_57.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1370 | part_57.Material = Enum.Material.Metal | |
1371 | part_57.Size = Vector3.new(0.2, 0.2, 0.56) | |
1372 | part_57.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1373 | part_57.CFrame = CFrame.new(10.027, 0.627, -66.064)* CFrame.Angles(3.0399577617645, -1.5697605609894, -0.099226586520672) | |
1374 | part_57.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1375 | part_57.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1376 | part_57.BrickColor = BrickColor.new("Dark stone grey") | |
1377 | part_57.Friction = 0.3 | |
1378 | part_57.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1379 | ||
1380 | mesh_61 = Instance.new("SpecialMesh", part_57) | |
1381 | mesh_61.Scale = Vector3.new(0.705, 0.55, 1) | |
1382 | mesh_61.MeshType = Enum.MeshType.Wedge | |
1383 | ||
1384 | part_58 = Instance.new("Part", greasegun) | |
1385 | part_58.FormFactor = Enum.FormFactor.Custom | |
1386 | part_58.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1387 | part_58.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1388 | part_58.Material = Enum.Material.Metal | |
1389 | part_58.Size = Vector3.new(0.2, 0.2, 0.2) | |
1390 | part_58.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1391 | part_58.CFrame = CFrame.new(9.295, 0.123, -66.065)* CFrame.Angles(1.5708000659943, -0.26180398464203, 1.5235701766869e-07) | |
1392 | part_58.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1393 | part_58.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1394 | part_58.BrickColor = BrickColor.new("Dark stone grey") | |
1395 | part_58.Friction = 0.3 | |
1396 | part_58.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1397 | ||
1398 | mesh_62 = Instance.new("CylinderMesh", part_58) | |
1399 | mesh_62.Scale = Vector3.new(0.72, 0.624, 0.528) | |
1400 | ||
1401 | part_59 = Instance.new("Part", greasegun) | |
1402 | part_59.FormFactor = Enum.FormFactor.Custom | |
1403 | part_59.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1404 | part_59.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1405 | part_59.Material = Enum.Material.Metal | |
1406 | part_59.Size = Vector3.new(0.53, 0.2, 0.2) | |
1407 | part_59.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1408 | part_59.CFrame = CFrame.new(10.328, 1.074, -66.001)* CFrame.Angles(0.52359879016876, 0, -0) | |
1409 | part_59.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1410 | part_59.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1411 | part_59.BrickColor = BrickColor.new("Dark stone grey") | |
1412 | part_59.Friction = 0.3 | |
1413 | part_59.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1414 | ||
1415 | mesh_63 = Instance.new("BlockMesh", part_59) | |
1416 | mesh_63.Scale = Vector3.new(1, 0.05, 0.25) | |
1417 | ||
1418 | part_60 = Instance.new("Part", greasegun) | |
1419 | part_60.FormFactor = Enum.FormFactor.Custom | |
1420 | part_60.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1421 | part_60.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1422 | part_60.Material = Enum.Material.Metal | |
1423 | part_60.Size = Vector3.new(0.2, 0.2, 0.2) | |
1424 | part_60.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1425 | part_60.CFrame = CFrame.new(10.352, 0.712, -66.064)* CFrame.Angles(3.0399577617645, -1.5697605609894, -0.099226586520672) | |
1426 | part_60.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1427 | part_60.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1428 | part_60.BrickColor = BrickColor.new("Dark stone grey") | |
1429 | part_60.Friction = 0.3 | |
1430 | part_60.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1431 | ||
1432 | mesh_64 = Instance.new("SpecialMesh", part_60) | |
1433 | mesh_64.Scale = Vector3.new(0.905, 0.35, 0.45) | |
1434 | mesh_64.MeshType = Enum.MeshType.Wedge | |
1435 | ||
1436 | part_61 = Instance.new("Part", greasegun) | |
1437 | part_61.FormFactor = Enum.FormFactor.Custom | |
1438 | part_61.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1439 | part_61.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1440 | part_61.Material = Enum.Material.Metal | |
1441 | part_61.Size = Vector3.new(0.2, 0.2, 0.2) | |
1442 | part_61.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1443 | part_61.CFrame = CFrame.new(10.59, 1.083, -66.08)* CFrame.Angles(1.5707967281342, -1.1742124115699e-05, 1.5708029270172) | |
1444 | part_61.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1445 | part_61.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1446 | part_61.BrickColor = BrickColor.new("Dark stone grey") | |
1447 | part_61.Friction = 0.3 | |
1448 | part_61.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1449 | ||
1450 | mesh_65 = Instance.new("CylinderMesh", part_61) | |
1451 | mesh_65.Scale = Vector3.new(0.275, 0.05, 0.165) | |
1452 | ||
1453 | part_62 = Instance.new("Part", greasegun) | |
1454 | part_62.FormFactor = Enum.FormFactor.Custom | |
1455 | part_62.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1456 | part_62.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1457 | part_62.Material = Enum.Material.Metal | |
1458 | part_62.Size = Vector3.new(0.3, 0.2, 0.2) | |
1459 | part_62.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1460 | part_62.CFrame = CFrame.new(10.527, 0.606, -66.065)* CFrame.Angles(4.5816659621778e-07, 1.5707963705063, 0) | |
1461 | part_62.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1462 | part_62.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1463 | part_62.BrickColor = BrickColor.new("Dark stone grey") | |
1464 | part_62.Friction = 0.3 | |
1465 | part_62.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1466 | ||
1467 | mesh_66 = Instance.new("SpecialMesh", part_62) | |
1468 | mesh_66.Scale = Vector3.new(0.5, 0.24, 0.24) | |
1469 | mesh_66.MeshType = Enum.MeshType.Wedge | |
1470 | ||
1471 | part_63 = Instance.new("Part", greasegun) | |
1472 | part_63.FormFactor = Enum.FormFactor.Custom | |
1473 | part_63.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1474 | part_63.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1475 | part_63.Material = Enum.Material.Metal | |
1476 | part_63.Size = Vector3.new(0.2, 0.2, 0.2) | |
1477 | part_63.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1478 | part_63.CFrame = CFrame.new(8.984, 0.802, -66.16)* CFrame.Angles(1.5707886219025, 0.78538632392883, 1.5708062648773) | |
1479 | part_63.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1480 | part_63.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1481 | part_63.BrickColor = BrickColor.new("Dark stone grey") | |
1482 | part_63.Friction = 0.3 | |
1483 | part_63.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1484 | ||
1485 | mesh_67 = Instance.new("CylinderMesh", part_63) | |
1486 | mesh_67.Scale = Vector3.new(0.25, 0.37, 0.15) | |
1487 | ||
1488 | part_64 = Instance.new("Part", greasegun) | |
1489 | part_64.FormFactor = Enum.FormFactor.Custom | |
1490 | part_64.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1491 | part_64.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1492 | part_64.Material = Enum.Material.Metal | |
1493 | part_64.Size = Vector3.new(0.2, 0.2, 0.2) | |
1494 | part_64.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1495 | part_64.CFrame = CFrame.new(12.038, 0.966, -66.065)* CFrame.Angles(1.5707967281342, -1.1742124115699e-05, 1.5708029270172) | |
1496 | part_64.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1497 | part_64.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1498 | part_64.BrickColor = BrickColor.new("Really black") | |
1499 | part_64.Friction = 0.3 | |
1500 | part_64.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1501 | part_64.Name = "barrelhole" | |
1502 | ||
1503 | mesh_68 = Instance.new("CylinderMesh", part_64) | |
1504 | mesh_68.Scale = Vector3.new(0.72, 0.24, 0.396) | |
1505 | ||
1506 | part_65 = Instance.new("Part", greasegun) | |
1507 | part_65.FormFactor = Enum.FormFactor.Custom | |
1508 | part_65.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1509 | part_65.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1510 | part_65.Material = Enum.Material.Metal | |
1511 | part_65.Size = Vector3.new(0.2, 1.084, 0.2) | |
1512 | part_65.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1513 | part_65.CFrame = CFrame.new(11.519, 0.966, -66.065)* CFrame.Angles(1.5707967281342, -1.1742124115699e-05, 1.5708029270172) | |
1514 | part_65.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1515 | part_65.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1516 | part_65.BrickColor = BrickColor.new("Dark stone grey") | |
1517 | part_65.Friction = 0.3 | |
1518 | part_65.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1519 | ||
1520 | mesh_69 = Instance.new("CylinderMesh", part_65) | |
1521 | mesh_69.Scale = Vector3.new(0.432, 1, 0.486) | |
1522 | ||
1523 | part_66 = Instance.new("Part", greasegun) | |
1524 | part_66.FormFactor = Enum.FormFactor.Custom | |
1525 | part_66.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1526 | part_66.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1527 | part_66.Material = Enum.Material.Metal | |
1528 | part_66.Size = Vector3.new(0.2, 0.2, 0.2) | |
1529 | part_66.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1530 | part_66.CFrame = CFrame.new(10.949, 1.12, -66.065)* CFrame.Angles(1.5707992315292, 7.3015689849854e-07, 1.5708041191101) | |
1531 | part_66.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1532 | part_66.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1533 | part_66.BrickColor = BrickColor.new("Dark stone grey") | |
1534 | part_66.Friction = 0.3 | |
1535 | part_66.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1536 | ||
1537 | mesh_70 = Instance.new("BlockMesh", part_66) | |
1538 | mesh_70.Scale = Vector3.new(0.252, 0.36, 0.462) | |
1539 | ||
1540 | part_67 = Instance.new("Part", greasegun) | |
1541 | part_67.FormFactor = Enum.FormFactor.Custom | |
1542 | part_67.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1543 | part_67.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1544 | part_67.Material = Enum.Material.Metal | |
1545 | part_67.Size = Vector3.new(0.2, 0.534, 0.2) | |
1546 | part_67.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1547 | part_67.CFrame = CFrame.new(10.328, 1.083, -66.08)* CFrame.Angles(1.5707967281342, -1.1742124115699e-05, 1.5708029270172) | |
1548 | part_67.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1549 | part_67.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1550 | part_67.BrickColor = BrickColor.new("Dark stone grey") | |
1551 | part_67.Friction = 0.3 | |
1552 | part_67.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1553 | ||
1554 | mesh_71 = Instance.new("CylinderMesh", part_67) | |
1555 | mesh_71.Scale = Vector3.new(0.25, 1, 0.15) | |
1556 | ||
1557 | part_68 = Instance.new("Part", greasegun) | |
1558 | part_68.FormFactor = Enum.FormFactor.Custom | |
1559 | part_68.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1560 | part_68.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1561 | part_68.Material = Enum.Material.Metal | |
1562 | part_68.Size = Vector3.new(0.2, 1.476, 0.204) | |
1563 | part_68.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1564 | part_68.CFrame = CFrame.new(10.287, 0.966, -66.065)* CFrame.Angles(1.5707967281342, -1.1794277270383e-05, 1.5708029270172) | |
1565 | part_68.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1566 | part_68.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1567 | part_68.BrickColor = BrickColor.new("Dark stone grey") | |
1568 | part_68.Friction = 0.3 | |
1569 | part_68.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1570 | ||
1571 | mesh_72 = Instance.new("CylinderMesh", part_68) | |
1572 | mesh_72.Scale = Vector3.new(1.248, 1, 1.15) | |
1573 | ||
1574 | part_69 = Instance.new("Part", greasegun) | |
1575 | part_69.FormFactor = Enum.FormFactor.Custom | |
1576 | part_69.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1577 | part_69.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1578 | part_69.Material = Enum.Material.Metal | |
1579 | part_69.Size = Vector3.new(0.53, 0.2, 0.2) | |
1580 | part_69.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1581 | part_69.CFrame = CFrame.new(10.328, 1.085, -66.045) | |
1582 | part_69.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1583 | part_69.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1584 | part_69.BrickColor = BrickColor.new("Dark stone grey") | |
1585 | part_69.Friction = 0.3 | |
1586 | part_69.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1587 | ||
1588 | mesh_73 = Instance.new("BlockMesh", part_69) | |
1589 | mesh_73.Scale = Vector3.new(1, 0.05, 0.25) | |
1590 | ||
1591 | part_70 = Instance.new("Part", greasegun) | |
1592 | part_70.FormFactor = Enum.FormFactor.Custom | |
1593 | part_70.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1594 | part_70.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1595 | part_70.Material = Enum.Material.Metal | |
1596 | part_70.Size = Vector3.new(0.53, 0.2, 0.2) | |
1597 | part_70.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1598 | part_70.CFrame = CFrame.new(10.328, 1.042, -65.969)* CFrame.Angles(1.0471975803375, 0, -0) | |
1599 | part_70.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1600 | part_70.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1601 | part_70.BrickColor = BrickColor.new("Dark stone grey") | |
1602 | part_70.Friction = 0.3 | |
1603 | part_70.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1604 | ||
1605 | mesh_74 = Instance.new("BlockMesh", part_70) | |
1606 | mesh_74.Scale = Vector3.new(1, 0.05, 0.25) | |
1607 | ||
1608 | part_71 = Instance.new("Part", greasegun) | |
1609 | part_71.FormFactor = Enum.FormFactor.Custom | |
1610 | part_71.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1611 | part_71.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1612 | part_71.Material = Enum.Material.Metal | |
1613 | part_71.Size = Vector3.new(0.53, 0.2, 0.2) | |
1614 | part_71.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1615 | part_71.CFrame = CFrame.new(10.328, 0.998, -65.957)* CFrame.Angles(1.5707963705063, 0, -0) | |
1616 | part_71.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1617 | part_71.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1618 | part_71.BrickColor = BrickColor.new("Dark stone grey") | |
1619 | part_71.Friction = 0.3 | |
1620 | part_71.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1621 | ||
1622 | mesh_75 = Instance.new("BlockMesh", part_71) | |
1623 | mesh_75.Scale = Vector3.new(1, 0.05, 0.25) | |
1624 | ||
1625 | part_72 = Instance.new("Part", greasegun) | |
1626 | part_72.FormFactor = Enum.FormFactor.Custom | |
1627 | part_72.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1628 | part_72.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1629 | part_72.Material = Enum.Material.Metal | |
1630 | part_72.Size = Vector3.new(0.2, 0.2, 0.2) | |
1631 | part_72.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1632 | part_72.CFrame = CFrame.new(10.922, 1.1, -66.065)* CFrame.Angles(1.57080078125, -0.52359801530838, 1.570804476738) | |
1633 | part_72.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1634 | part_72.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1635 | part_72.BrickColor = BrickColor.new("Dark stone grey") | |
1636 | part_72.Friction = 0.3 | |
1637 | part_72.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1638 | ||
1639 | mesh_76 = Instance.new("BlockMesh", part_72) | |
1640 | mesh_76.Scale = Vector3.new(0.252, 0.36, 0.462) | |
1641 | ||
1642 | part_73 = Instance.new("Part", greasegun) | |
1643 | part_73.FormFactor = Enum.FormFactor.Custom | |
1644 | part_73.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1645 | part_73.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1646 | part_73.Material = Enum.Material.Metal | |
1647 | part_73.Size = Vector3.new(0.2, 0.2, 0.2) | |
1648 | part_73.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1649 | part_73.CFrame = CFrame.new(10.901, 1.057, -66.065)* CFrame.Angles(3.9483987279709e-07, -1.5707963705063, 0) | |
1650 | part_73.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1651 | part_73.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1652 | part_73.BrickColor = BrickColor.new("Dark stone grey") | |
1653 | part_73.Friction = 0.3 | |
1654 | part_73.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1655 | ||
1656 | mesh_77 = Instance.new("BlockMesh", part_73) | |
1657 | mesh_77.Scale = Vector3.new(0.252, 0.36, 0.672) | |
1658 | ||
1659 | aim = Instance.new("Part", greasegun) | |
1660 | aim.FormFactor = Enum.FormFactor.Symmetric | |
1661 | aim.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1662 | aim.Transparency = 1 | |
1663 | aim.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1664 | aim.Material = Enum.Material.Metal | |
1665 | aim.Size = Vector3.new(0.1, 0.1, 0.1) | |
1666 | aim.Name = "aim" | |
1667 | aim.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1668 | aim.CFrame = CFrame.new(9.6, 1.176, -66.06)* CFrame.Angles(-1.5707963705063, -1.5707963705063, 0) | |
1669 | aim.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1670 | aim.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1671 | aim.BrickColor = BrickColor.new("Bright orange") | |
1672 | aim.Friction = 0.3 | |
1673 | aim.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1674 | ||
1675 | flash_4 = Instance.new("BillboardGui", aim) | |
1676 | flash_4.Active = true | |
1677 | flash_4.Name = "Flash" | |
1678 | flash_4.Size = UDim2.new(6, 0, 6, 0) | |
1679 | ||
1680 | flash_5 = Instance.new("ImageLabel", flash_4) | |
1681 | flash_5.Visible = false | |
1682 | flash_5.Active = true | |
1683 | flash_5.Image = "http://www.roblox.com/asset?id=61378273" | |
1684 | flash_5.Name = "Flash" | |
1685 | flash_5.Position = UDim2.new(0.25, 0, 0.25, 0) | |
1686 | flash_5.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
1687 | flash_5.BackgroundTransparency = 1 | |
1688 | flash_5.Size = UDim2.new(0.5, 0, 0.5, 0) | |
1689 | flash_5.BackgroundColor3 = Color3.new(0.756863, 0.752941, 0.764706) | |
1690 | ||
1691 | local newp = Instance.new("Part", greasegun) | |
1692 | newp.FormFactor = Enum.FormFactor.Symmetric | |
1693 | newp.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1694 | newp.Transparency = 1 | |
1695 | newp.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1696 | newp.Material = Enum.Material.Metal | |
1697 | newp.Size = Vector3.new(0.1, 0.1, 0.1) | |
1698 | newp.Name = "newp" | |
1699 | newp.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1700 | newp.CFrame = CFrame.new(12.138, 0.971, -66.06)* CFrame.Angles(-1.5707963705063, -1.5707963705063, 0) | |
1701 | newp.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1702 | newp.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1703 | newp.BrickColor = BrickColor.new("Bright orange") | |
1704 | newp.Friction = 0.3 | |
1705 | newp.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1706 | ||
1707 | flash_6 = Instance.new("BillboardGui", newp) | |
1708 | flash_6.Active = true | |
1709 | flash_6.Name = "Flash" | |
1710 | flash_6.Size = UDim2.new(6, 0, 6, 0) | |
1711 | ||
1712 | flash_7 = Instance.new("ImageLabel", flash_6) | |
1713 | flash_7.Visible = false | |
1714 | flash_7.Active = true | |
1715 | flash_7.Image = "http://www.roblox.com/asset?id=61378273" | |
1716 | flash_7.Name = "Flash" | |
1717 | flash_7.Position = UDim2.new(0.25, 0, 0.25, 0) | |
1718 | flash_7.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
1719 | flash_7.BackgroundTransparency = 1 | |
1720 | flash_7.Size = UDim2.new(0.5, 0, 0.5, 0) | |
1721 | flash_7.BackgroundColor3 = Color3.new(0.756863, 0.752941, 0.764706) | |
1722 | ||
1723 | local gungui = Instance.new("ScreenGui", player.PlayerGui) | |
1724 | gungui.Name = "gungui" | |
1725 | ||
1726 | local crosshair = Instance.new("Frame", gungui) | |
1727 | crosshair.BorderColor3 = Color3.new(0, 0, 0) | |
1728 | crosshair.Name = "crossHair" | |
1729 | crosshair.Position = UDim2.new(0.5, 0, 0.5, -18) | |
1730 | crosshair.BorderSizePixel = 0 | |
1731 | crosshair.BackgroundColor3 = Color3.new(1, 1, 1) | |
1732 | ||
1733 | local reload = Instance.new("TextLabel", crosshair) | |
1734 | reload.ZIndex = 2 | |
1735 | reload.BorderSizePixel = 0 | |
1736 | reload.BackgroundColor3 = Color3.new(1, 1, 1) | |
1737 | reload.BackgroundTransparency = 1 | |
1738 | reload.Size = UDim2.new(0, 100, 0, 20) | |
1739 | reload.TextColor3 = Color3.new(1, 1, 1) | |
1740 | reload.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
1741 | reload.Text = "RLD" | |
1742 | reload.Position = UDim2.new(0, -50, 0, 70) | |
1743 | reload.Font = Enum.Font.Garamond | |
1744 | reload.Name = "Reload" | |
1745 | reload.FontSize = Enum.FontSize.Size18 | |
1746 | reload.Visible = false | |
1747 | ||
1748 | local c = Instance.new("Frame", crosshair) | |
1749 | c.Size = UDim2.new(0, 4, 0, 500) | |
1750 | c.ClipsDescendants = true | |
1751 | c.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
1752 | c.Name = "C" | |
1753 | c.Position = UDim2.new(0, -2, 0, 0) | |
1754 | c.BackgroundTransparency = 1 | |
1755 | c.BackgroundColor3 = Color3.new(1, 1, 1) | |
1756 | ||
1757 | local line = Instance.new("TextLabel", c) | |
1758 | line.BorderSizePixel = 0 | |
1759 | line.BackgroundColor3 = Color3.new(1, 1, 1) | |
1760 | line.BackgroundTransparency = 0.3 | |
1761 | line.Size = UDim2.new(0, 2, 0, 15) | |
1762 | line.TextColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
1763 | line.BorderColor3 = Color3.new(0.392157, 0.392157, 0.392157) | |
1764 | line.Text = "" | |
1765 | line.Position = UDim2.new(0.5, -1, 0, 10) | |
1766 | line.Font = Enum.Font.SourceSans | |
1767 | line.Name = "Line" | |
1768 | line.FontSize = Enum.FontSize.Size14 | |
1769 | ||
1770 | local a = Instance.new("Frame", crosshair) | |
1771 | a.Size = UDim2.new(0, 4, 0, 500) | |
1772 | a.ClipsDescendants = true | |
1773 | a.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
1774 | a.Name = "A" | |
1775 | a.Position = UDim2.new(0, -2, 0, -500) | |
1776 | a.BackgroundTransparency = 1 | |
1777 | a.BackgroundColor3 = Color3.new(1, 1, 1) | |
1778 | ||
1779 | local line_2 = Instance.new("TextLabel", a) | |
1780 | line_2.BorderSizePixel = 0 | |
1781 | line_2.BackgroundColor3 = Color3.new(1, 1, 1) | |
1782 | line_2.BackgroundTransparency = 0.3 | |
1783 | line_2.Size = UDim2.new(0, 2, 0, 15) | |
1784 | line_2.TextColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
1785 | line_2.BorderColor3 = Color3.new(0.392157, 0.392157, 0.392157) | |
1786 | line_2.Text = "" | |
1787 | line_2.Position = UDim2.new(0.5, -1, 1, -25) | |
1788 | line_2.Font = Enum.Font.SourceSans | |
1789 | line_2.Name = "Line" | |
1790 | line_2.FontSize = Enum.FontSize.Size14 | |
1791 | ||
1792 | local b = Instance.new("Frame", crosshair) | |
1793 | b.Size = UDim2.new(0, 500, 0, 4) | |
1794 | b.ClipsDescendants = true | |
1795 | b.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
1796 | b.Name = "B" | |
1797 | b.Position = UDim2.new(0, 0, 0, -2) | |
1798 | b.BackgroundTransparency = 1 | |
1799 | b.BackgroundColor3 = Color3.new(1, 1, 1) | |
1800 | ||
1801 | local line_3 = Instance.new("TextLabel", b) | |
1802 | line_3.BorderSizePixel = 0 | |
1803 | line_3.BackgroundColor3 = Color3.new(1, 1, 1) | |
1804 | line_3.BackgroundTransparency = 0.3 | |
1805 | line_3.Size = UDim2.new(0, 15, 0, 2) | |
1806 | line_3.TextColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
1807 | line_3.BorderColor3 = Color3.new(0.392157, 0.392157, 0.392157) | |
1808 | line_3.Text = "" | |
1809 | line_3.Position = UDim2.new(0, 10, 0.5, -1) | |
1810 | line_3.Font = Enum.Font.SourceSans | |
1811 | line_3.Name = "Line" | |
1812 | line_3.FontSize = Enum.FontSize.Size14 | |
1813 | ||
1814 | local d = Instance.new("Frame", crosshair) | |
1815 | d.Size = UDim2.new(0, 500, 0, 4) | |
1816 | d.ClipsDescendants = true | |
1817 | d.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
1818 | d.Name = "D" | |
1819 | d.Position = UDim2.new(0, -500, 0, -2) | |
1820 | d.BackgroundTransparency = 1 | |
1821 | d.BackgroundColor3 = Color3.new(1, 1, 1) | |
1822 | ||
1823 | local line_4 = Instance.new("TextLabel", d) | |
1824 | line_4.BorderSizePixel = 0 | |
1825 | line_4.BackgroundColor3 = Color3.new(1, 1, 1) | |
1826 | line_4.BackgroundTransparency = 0.3 | |
1827 | line_4.Size = UDim2.new(0, 15, 0, 2) | |
1828 | line_4.TextColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
1829 | line_4.BorderColor3 = Color3.new(0.392157, 0.392157, 0.392157) | |
1830 | line_4.Text = "" | |
1831 | line_4.Position = UDim2.new(1, -25, 0.5, -1) | |
1832 | line_4.Font = Enum.Font.SourceSans | |
1833 | line_4.Name = "Line" | |
1834 | line_4.FontSize = Enum.FontSize.Size14 | |
1835 | ||
1836 | local imagelabel = Instance.new("ImageLabel", crosshair) | |
1837 | imagelabel.Visible = false | |
1838 | imagelabel.Image = "http://www.roblox.com/asset/?id=68308747" | |
1839 | imagelabel.ZIndex = 2 | |
1840 | imagelabel.Position = UDim2.new(0, -150, 0, -150) | |
1841 | imagelabel.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
1842 | imagelabel.BackgroundTransparency = 1 | |
1843 | imagelabel.Size = UDim2.new(0, 300, 0, 300) | |
1844 | imagelabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
1845 | ||
1846 | local hud = Instance.new("ImageLabel", gungui) | |
1847 | hud.ImageColor3 = Color3.new(0.156863, 0.156863, 0.156863) | |
1848 | hud.BorderSizePixel = 3 | |
1849 | hud.Image = "rbxassetid://0" | |
1850 | hud.Name = "HUD" | |
1851 | hud.Position = UDim2.new(1, -200, 0.75, 0) | |
1852 | hud.BorderColor3 = Color3.new(1, 1, 1) | |
1853 | hud.BackgroundTransparency = 0.5 | |
1854 | hud.Size = UDim2.new(0, 200, 0, 100) | |
1855 | hud.BackgroundColor3 = Color3.new(0, 0, 0) | |
1856 | ||
1857 | local gunname = Instance.new("Frame", hud) | |
1858 | gunname.ZIndex = 10 | |
1859 | gunname.Size = UDim2.new(0.8, 0, 0, 20) | |
1860 | gunname.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
1861 | gunname.Name = "gunName" | |
1862 | gunname.Position = UDim2.new(0.15, 0, 0, 0) | |
1863 | gunname.BackgroundTransparency = 1 | |
1864 | gunname.BackgroundColor3 = Color3.new(0.352941, 0.352941, 0.352941) | |
1865 | ||
1866 | local title = Instance.new("TextLabel", gunname) | |
1867 | title.TextWrapped = true | |
1868 | title.ZIndex = 10 | |
1869 | title.TextScaled = true | |
1870 | title.BackgroundColor3 = Color3.new(1, 1, 1) | |
1871 | title.BackgroundTransparency = 1 | |
1872 | title.Size = UDim2.new(1, 0, 1, 0) | |
1873 | title.TextColor3 = Color3.new(1, 1, 1) | |
1874 | title.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
1875 | title.Text = namegun | |
1876 | title.TextStrokeColor3 = Color3.new(0.745098, 0.745098, 0.745098) | |
1877 | title.Name = "Title" | |
1878 | title.TextXAlignment = Enum.TextXAlignment.Left | |
1879 | title.FontSize = Enum.FontSize.Size18 | |
1880 | ||
1881 | local info = Instance.new("TextLabel", hud) | |
1882 | info.TextWrapped = true | |
1883 | info.ZIndex = 10 | |
1884 | info.BackgroundColor3 = Color3.new(1, 1, 1) | |
1885 | info.BackgroundTransparency = 1 | |
1886 | info.Size = UDim2.new(1, 0, 0, 15) | |
1887 | info.TextColor3 = Color3.new(1, 1, 1) | |
1888 | info.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
1889 | info.Text = guninfo | |
1890 | info.Position = UDim2.new(0, 0, 1, -15) | |
1891 | info.TextStrokeColor3 = Color3.new(0.745098, 0.745098, 0.745098) | |
1892 | info.Name = "Info" | |
1893 | info.TextXAlignment = Enum.TextXAlignment.Left | |
1894 | info.FontSize = Enum.FontSize.Size12 | |
1895 | ||
1896 | local ammog = Instance.new("Frame", hud) | |
1897 | ammog.ZIndex = 10 | |
1898 | ammog.Size = UDim2.new(0, 100, 0, 40) | |
1899 | ammog.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
1900 | ammog.Name = "Ammo" | |
1901 | ammog.Position = UDim2.new(0.5, -50, 0.55, -20) | |
1902 | ammog.BackgroundTransparency = 1 | |
1903 | ammog.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059) | |
1904 | ||
1905 | local slash = Instance.new("TextLabel", ammog) | |
1906 | slash.ZIndex = 10 | |
1907 | slash.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059) | |
1908 | slash.BackgroundTransparency = 1 | |
1909 | slash.Size = UDim2.new(0, 0, 0, 45) | |
1910 | slash.TextColor3 = Color3.new(1, 1, 1) | |
1911 | slash.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
1912 | slash.Text = "/" | |
1913 | slash.Position = UDim2.new(0, 68, 0, -12) | |
1914 | slash.Font = Enum.Font.SciFi | |
1915 | slash.Name = "Slash" | |
1916 | slash.FontSize = Enum.FontSize.Size24 | |
1917 | ||
1918 | local stored = Instance.new("TextLabel", ammog) | |
1919 | stored.TextWrapped = true | |
1920 | stored.ZIndex = 10 | |
1921 | stored.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059) | |
1922 | stored.BackgroundTransparency = 1 | |
1923 | stored.Size = UDim2.new(1, 0, 0, 85) | |
1924 | stored.TextColor3 = Color3.new(1, 1, 1) | |
1925 | stored.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
1926 | stored.Text = maxammo | |
1927 | stored.Position = UDim2.new(0, 75, 0, -35) | |
1928 | stored.Name = "Stored" | |
1929 | stored.TextXAlignment = Enum.TextXAlignment.Left | |
1930 | stored.FontSize = Enum.FontSize.Size28 | |
1931 | ||
1932 | local clip = Instance.new("TextLabel", ammog) | |
1933 | clip.ZIndex = 10 | |
1934 | clip.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059) | |
1935 | clip.BackgroundTransparency = 1 | |
1936 | clip.Size = UDim2.new(1, 0, 0, 85) | |
1937 | clip.TextColor3 = Color3.new(1, 1, 1) | |
1938 | clip.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
1939 | clip.Text = ammo | |
1940 | clip.Position = UDim2.new(0, -40, 0, -35) | |
1941 | clip.Name = "Clip" | |
1942 | clip.TextXAlignment = Enum.TextXAlignment.Right | |
1943 | clip.FontSize = Enum.FontSize.Size28 | |
1944 | ||
1945 | local hitm = Instance.new("ImageLabel", gungui) | |
1946 | hitm.Visible = false | |
1947 | hitm.BorderSizePixel = 0 | |
1948 | hitm.Image = "http://www.roblox.com/asset/?id=131358529" | |
1949 | hitm.Name = "Hit" | |
1950 | hitm.Position = UDim2.new(0, 938, 0, 198) | |
1951 | hitm.BorderColor3 = Color3.new(0, 0, 0) | |
1952 | hitm.BackgroundTransparency = 1 | |
1953 | hitm.Size = UDim2.new(0, 45, 0, 45) | |
1954 | hitm.BackgroundColor3 = Color3.new(0, 0, 0) | |
1955 | ||
1956 | greasegun:BreakJoints() | |
1957 | ||
1958 | local prev | |
1959 | local parts = greasegun:GetChildren() | |
1960 | ||
1961 | for i = 1,#parts do | |
1962 | if (parts[i].className == "Part") or (parts[i].className == "WedgePart") or (parts[i].className == "Seat") or (parts[i].className == "VehicleSeat") or (parts[i].className == "CornerWedgePart") then | |
1963 | if (prev ~= nil)then | |
1964 | if parts[i]:FindFirstChild("Weld") then parts[i]:FindFirstChild("Weld"):Destroy() end | |
1965 | local weld = Instance.new("Weld") | |
1966 | weld.Part0 = prev | |
1967 | weld.Part1 = parts[i] | |
1968 | weld.C0 = prev.CFrame:inverse() | |
1969 | weld.C1 = parts[i].CFrame:inverse() | |
1970 | weld.Parent = prev | |
1971 | parts[i].CanCollide = false | |
1972 | end | |
1973 | prev = parts[i] | |
1974 | end | |
1975 | end | |
1976 | greasegun:MakeJoints() | |
1977 | ||
1978 | --Magazine-- | |
1979 | local mag = Instance.new("Part", greasegun) | |
1980 | mag.FormFactor = Enum.FormFactor.Plate | |
1981 | mag.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1982 | mag.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1983 | mag.Material = Enum.Material.Metal | |
1984 | mag.Size = Vector3.new(1, .1, .2) | |
1985 | mag.Name = "Mag" | |
1986 | mag.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1987 | mag.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1988 | mag.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1989 | mag.BrickColor = BrickColor.new("Black") | |
1990 | mag.Friction = 0.3 | |
1991 | mag.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1992 | weld(mag, newp, CFrame.new(.5,0,-1.48)*CFrame.Angles(math.rad(0),0,0)) | |
1993 | --Magazine-- | |
1994 | handle.Weld.Name = "Weld2" | |
1995 | weld(handle, char.HumanoidRootPart, CFrame.new(-.5,0,1)*CFrame.Angles(math.rad(0),0,0)) | |
1996 | ||
1997 | tor["Right Shoulder"].Part1 = nil | |
1998 | weld(ra, handle, CFrame.new(-.2,-.5,-.2)*CFrame.Angles(math.rad(-90),0,0)) | |
1999 | tor["Left Shoulder"].Part1 = nil | |
2000 | weld(la, handle, CFrame.new(.8,.2,0)*CFrame.Angles(math.rad(-90),math.rad(18),0)) | |
2001 | ||
2002 | mouse.TargetFilter = workspace | |
2003 | local offset = CFrame.new(.5,.2,-1)*CFrame.Angles(math.rad(0),0,0) | |
2004 | local bg = Instance.new("BodyGyro",char.Torso) | |
2005 | bg.D = 1 | |
2006 | bg.P = 400000 | |
2007 | bg.maxTorque = Vector3.new(0,0,0) | |
2008 | game:GetService("RunService").RenderStepped:connect(function() | |
2009 | if canmovemouse == true then | |
2010 | --local anglex = -mouse.Hit.p.y/100 | |
2011 | --local angley = mouse.Hit.p.x/100 | |
2012 | --handle.Weld.C0 = CFrame.new(handle.CFrame)*CFrame.Angles(math.rad(anglex),math.rad(0),math.rad(0)) | |
2013 | local p0c0 = char.HumanoidRootPart:GetRenderCFrame()*handle.Weld.C1 | |
2014 | handle.Weld.C0 = (CFrame.new(p0c0.p, mouse.Hit.p)*offset):inverse()*p0c0 | |
2015 | hitm.Position = UDim2.new(0, mouse.X-22.5, 0, mouse.Y-22.5) | |
2016 | if (camera.focus.p - camera.CoordinateFrame.p).magnitude >= 1 then | |
2017 | bg.maxTorque = Vector3.new(0,math.huge,0) | |
2018 | bg.cframe = CFrame.new(tor.Position, Vector3.new(mouse.Hit.p.x, tor.Position.y, mouse.Hit.p.z)) | |
2019 | UserInputService.MouseIconEnabled = true | |
2020 | mouse.Icon = "http://www.roblox.com/asset/?id=316279304" | |
2021 | crosshair.Visible = false | |
2022 | end | |
2023 | if (camera.focus.p - camera.CoordinateFrame.p).magnitude <= 1 then | |
2024 | bg.cframe = CFrame.new(tor.Position, Vector3.new(0,0,0)) | |
2025 | bg.maxTorque = Vector3.new(0,0,0) | |
2026 | UserInputService.MouseIconEnabled = false | |
2027 | mouse.Icon = "" | |
2028 | crosshair.Visible = true | |
2029 | end | |
2030 | ||
2031 | end | |
2032 | end) | |
2033 | ||
2034 | local fpressed = 0 | |
2035 | mouse.KeyDown:connect(function(key) | |
2036 | if key == "f" then | |
2037 | fpressed = fpressed + 1 | |
2038 | if fpressed == 1 then | |
2039 | canmovemouse = false | |
2040 | end | |
2041 | if fpressed == 2 then | |
2042 | fpressed = 0 | |
2043 | canmovemouse = true | |
2044 | end | |
2045 | end | |
2046 | end) | |
2047 | ||
2048 | local epressed = 0 | |
2049 | local xpressed = false | |
2050 | local cpressed = false | |
2051 | mouse.KeyDown:connect(function(key) | |
2052 | if key == "e" and xpressed == false and cpressed == false then | |
2053 | epressed = 1 | |
2054 | animate3(tor.Neck, .2, CFrame.new(0,-.5,0)*CFrame.Angles(math.rad(-90),math.rad(-20),math.rad(180))) | |
2055 | animate2(handle,.2,CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0)) | |
2056 | camera.CameraSubject = greasegun.aim | |
2057 | end | |
2058 | end) | |
2059 | mouse.KeyUp:connect(function(key) | |
2060 | if key == "e" and xpressed == false and cpressed == false then | |
2061 | epressed = 0 | |
2062 | animate3(tor.Neck, .2, CFrame.new(0,-.5,0)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(180))) | |
2063 | animate2(handle,.2,CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0)) | |
2064 | camera.CameraSubject = char.Humanoid | |
2065 | end | |
2066 | end) | |
2067 | ||
2068 | local gf1 = Instance.new("Sound") | |
2069 | gf1.SoundId="rbxassetid://225196896" | |
2070 | gf1.PlayOnRemove=false | |
2071 | gf1.Volume=0.7 | |
2072 | gf1.Looped=false | |
2073 | gf1.Pitch = 1 | |
2074 | gf1.Parent=handle | |
2075 | local knifeswing = Instance.new("Sound") | |
2076 | knifeswing.SoundId="rbxassetid://158037267" | |
2077 | knifeswing.PlayOnRemove=false | |
2078 | knifeswing.Volume=0.7 | |
2079 | knifeswing.Looped=false | |
2080 | knifeswing.Pitch = 1 | |
2081 | knifeswing.Parent=handle | |
2082 | local rl1 = Instance.new("Sound") | |
2083 | rl1.SoundId="rbxassetid://231020282" | |
2084 | rl1.PlayOnRemove=false | |
2085 | rl1.Volume=0.7 | |
2086 | rl1.Looped=false | |
2087 | rl1.Pitch = 1 | |
2088 | rl1.Parent=handle | |
2089 | local rl2 = Instance.new("Sound") | |
2090 | rl2.SoundId="rbxassetid://231021162" | |
2091 | rl2.PlayOnRemove=false | |
2092 | rl2.Volume=0.7 | |
2093 | rl2.Looped=false | |
2094 | rl2.Pitch = 1 | |
2095 | rl2.Parent=handle | |
2096 | local rl3 = Instance.new("Sound") | |
2097 | rl3.SoundId="rbxassetid://437204112" | |
2098 | rl3.PlayOnRemove=false | |
2099 | rl3.Volume=0.7 | |
2100 | rl3.Looped=false | |
2101 | rl3.Pitch = 1 | |
2102 | rl3.Parent=handle | |
2103 | local rl4 = Instance.new("Sound") | |
2104 | rl4.SoundId="rbxassetid://330005593" | |
2105 | rl4.PlayOnRemove=false | |
2106 | rl4.Volume=0.7 | |
2107 | rl4.Looped=false | |
2108 | rl4.Pitch = 1 | |
2109 | rl4.Parent=handle | |
2110 | local rl5 = Instance.new("Sound") | |
2111 | rl5.SoundId="rbxassetid://898540650" | |
2112 | rl5.PlayOnRemove=false | |
2113 | rl5.Volume=0.7 | |
2114 | rl5.Looped=false | |
2115 | rl5.Pitch = 1 | |
2116 | rl5.Parent=handle | |
2117 | local gf2 = Instance.new("Sound") | |
2118 | gf2.SoundId="rbxassetid://240785604" | |
2119 | gf2.PlayOnRemove=false | |
2120 | gf2.Volume=0.7 | |
2121 | gf2.Looped=false | |
2122 | gf2.Pitch = 1 | |
2123 | gf2.Parent=handle | |
2124 | ||
2125 | function reload() | |
2126 | animate(la,.2,CFrame.new(.8,.6,0)*CFrame.Angles(math.rad(-90),math.rad(18),0)) | |
2127 | wait(.5) | |
2128 | rl1:Play() | |
2129 | animate(la,.2,CFrame.new(.8,.6,0)*CFrame.Angles(math.rad(-20),math.rad(18),0)) | |
2130 | mag.Weld.Name = "Weld2" | |
2131 | weld(mag, la, CFrame.new(.5,0,-1)*CFrame.Angles(math.rad(90),math.rad(90),math.rad(180))) | |
2132 | ammo = 0 | |
2133 | maxammo = 0 | |
2134 | clip.Text = ammo | |
2135 | stored.Text = maxammo | |
2136 | wait(.5) | |
2137 | mag.Transparency = 1 | |
2138 | local magclone = mag:Clone() | |
2139 | magclone.Transparency = 0 | |
2140 | magclone.Parent = workspace | |
2141 | if magclone:FindFirstChild("Weld") then magclone.Weld:Destroy() end | |
2142 | if magclone:FindFirstChild("Weld2") then magclone.Weld2:Destroy() end | |
2143 | game.Debris:AddItem(magclone,3) | |
2144 | magclone.CanCollide = true | |
2145 | wait(.5) | |
2146 | mag.Transparency = 0 | |
2147 | wait(.2) | |
2148 | animate(la,.2,CFrame.new(.8,-.1,0)*CFrame.Angles(math.rad(-50),math.rad(30),0)) | |
2149 | wait(.2) | |
2150 | rl2:Play() | |
2151 | mag.Weld:Destroy() | |
2152 | mag.Weld2.Name = "Weld" | |
2153 | wait(.2) | |
2154 | animate(la,.2,CFrame.new(.8,.2,0)*CFrame.Angles(math.rad(-50),math.rad(30),0)) | |
2155 | wait(.5) | |
2156 | rl4:Play() | |
2157 | animate(la,.2,CFrame.new(.8,.3,0)*CFrame.Angles(math.rad(-80),math.rad(30),0)) | |
2158 | wait(.2) | |
2159 | animate(la,.2,CFrame.new(.8,.2,0)*CFrame.Angles(math.rad(-50),math.rad(30),0)) | |
2160 | wait(.2) | |
2161 | animate(la,.2,CFrame.new(.8,.2,.2)*CFrame.Angles(math.rad(-90),math.rad(18),0)) | |
2162 | wait(.2) | |
2163 | rl3:Play() | |
2164 | animate(la,.2,CFrame.new(.8,-.2,.2)*CFrame.Angles(math.rad(-90),math.rad(18),0)) | |
2165 | bolt1.Mesh.Offset = Vector3.new(-.5,0,0) | |
2166 | bolt2.Mesh.Offset = Vector3.new(-.5,0,0) | |
2167 | wait(.5) | |
2168 | rl5:Play() | |
2169 | animate(la,.2,CFrame.new(.8,.4,.2)*CFrame.Angles(math.rad(-90),math.rad(18),0)) | |
2170 | bolt1.Mesh.Offset = Vector3.new(-.2,0,0) | |
2171 | bolt2.Mesh.Offset = Vector3.new(-.2,0,0) | |
2172 | wait(.5) | |
2173 | animate(la,.2,CFrame.new(.8,.2,0)*CFrame.Angles(math.rad(-90),math.rad(18),0)) | |
2174 | wait(.2) | |
2175 | bolt1.Mesh.Offset = Vector3.new(0,0,0) | |
2176 | bolt2.Mesh.Offset = Vector3.new(0,0,0) | |
2177 | ammo = 30 | |
2178 | maxammo = 30 | |
2179 | clip.Text = ammo | |
2180 | stored.Text = maxammo | |
2181 | end | |
2182 | mouse.KeyDown:connect(function(key) | |
2183 | if key == "r" then | |
2184 | reload() | |
2185 | end | |
2186 | end) | |
2187 | ||
2188 | local Speed = 25 | |
2189 | ||
2190 | local bulletholepart = Instance.new("Part") | |
2191 | bulletholepart.FormFactor = "Custom" | |
2192 | bulletholepart.Size = Vector3.new(.5, .5, 0.2) | |
2193 | bulletholepart.Anchored = false | |
2194 | bulletholepart.CanCollide = false | |
2195 | bulletholepart.Transparency = 1 | |
2196 | local bulletholedecal = Instance.new("Decal", bulletholepart) | |
2197 | bulletholedecal.Texture = "http://www.roblox.com/asset/?id=359667702" | |
2198 | local ignore = {char} | |
2199 | function fire() | |
2200 | if ammo <=0 then | |
2201 | gf2:Play() | |
2202 | end | |
2203 | if ammo >=1 then | |
2204 | ammo = ammo - 1 | |
2205 | firing = true | |
2206 | clip.Text = ammo | |
2207 | stored.Text = maxammo | |
2208 | gf1:Play() | |
2209 | ||
2210 | --local cam_rot = camera.CoordinateFrame - camera.CoordinateFrame.p | |
2211 | --local cam_scroll = (camera.CoordinateFrame.p - camera.Focus.p).magnitude | |
2212 | --local ncf = CFrame.new(camera.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(0.00025+math.random()/100, math.random(-10,10)/1000, 0) | |
2213 | --camera.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll) | |
2214 | ||
2215 | local posA, posB = newp.CFrame, mouse.hit; | |
2216 | --Spread-- | |
2217 | local lookAt = CFrame.new (posA.p, posB.p); | |
2218 | lookAt = lookAt * CFrame.Angles ( | |
2219 | math.rad (math.random (-2, 2)), | |
2220 | math.rad (math.random (-2, 2)), | |
2221 | math.rad (math.random (-2, 2)) | |
2222 | ) * CFrame.new (0, 0, -(posA.p - posB.p).magnitude); | |
2223 | --Spread End-- | |
2224 | local ray = Ray.new(posA.p,(lookAt.p).unit*300) | |
2225 | if epressed == 1 then | |
2226 | ray = Ray.new(newp.CFrame.p,(mouse.Hit.p-newp.CFrame.p).unit*300) | |
2227 | end | |
2228 | local Hit,Position, Normal = game.Workspace:FindPartOnRayWithIgnoreList(ray,ignore) | |
2229 | if Hit then | |
2230 | local bullethole = bulletholepart:Clone() | |
2231 | bullethole.Parent = game.Workspace | |
2232 | bullethole.Name = "bullethole" | |
2233 | bullethole.CFrame = CFrame.new(Position, Position + Normal) | |
2234 | game:GetService("Debris"):AddItem(bullethole, 10) | |
2235 | ||
2236 | if Hit.Name == "bullethole" then | |
2237 | table.insert(ignore, Hit) | |
2238 | --local ray = Ray.new(newp.CFrame.p,(mouse.Hit.p-newp.CFrame.p).unit*300) | |
2239 | Hit,Position, Normal = game.Workspace:FindPartOnRayWithIgnoreList(ray,ignore) | |
2240 | --return Hit, Position, Normal | |
2241 | end | |
2242 | ||
2243 | if Hit.Transparency == 1 then | |
2244 | table.insert(ignore, Hit) | |
2245 | --local ray = Ray.new(newp.CFrame.p,(mouse.Hit.p-newp.CFrame.p).unit*300) | |
2246 | Hit,Position, Normal = game.Workspace:FindPartOnRayWithIgnoreList(ray,ignore) | |
2247 | --return Hit, Position, Normal | |
2248 | end | |
2249 | ||
2250 | if Hit.Parent.ClassName == "Hat" then | |
2251 | table.insert(ignore, Hit.Parent) | |
2252 | --local ray = Ray.new(newp.CFrame.p,(mouse.Hit.p-newp.CFrame.p).unit*300) | |
2253 | Hit,Position, Normal = game.Workspace:FindPartOnRayWithIgnoreList(ray,ignore) | |
2254 | --return Hit, Position, Normal | |
2255 | end | |
2256 | ||
2257 | if Hit.Parent.ClassName == "Accessory" then | |
2258 | table.insert(ignore, Hit.Parent) | |
2259 | --local ray = Ray.new(newp.CFrame.p,(mouse.Hit.p-newp.CFrame.p).unit*300) | |
2260 | Hit,Position, Normal = game.Workspace:FindPartOnRayWithIgnoreList(ray,ignore) | |
2261 | --return Hit, Position, Normal | |
2262 | end | |
2263 | ||
2264 | local weld = Instance.new("Weld") | |
2265 | ||
2266 | weld.Part0 = bullethole | |
2267 | weld.Part1 = Hit | |
2268 | ||
2269 | -- correction term to account for average skew between physics update and heartbeat | |
2270 | local HitPos = bullethole.Position --+ (-arrow.Velocity * (1/60)) --+ (arrow.CFrame.lookVector * .5) | |
2271 | ||
2272 | local CJ = CFrame.new(HitPos) | |
2273 | local C0 = bullethole.CFrame:inverse() *CJ | |
2274 | local C1 = Hit.CFrame:inverse() * CJ | |
2275 | ||
2276 | weld.C0 = C0 | |
2277 | weld.C1 = C1 | |
2278 | ||
2279 | weld.Parent = bullethole | |
2280 | ||
2281 | if Hit.Parent:FindFirstChildOfClass("Humanoid") then | |
2282 | if Hit.Parent:FindFirstChild("ForceField") then Hit.Parent.ForceField:Destroy() end | |
2283 | if Hit.Parent.Name == "imtellingmommy" then Hit.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(50,80)) end | |
2284 | if Hit.Parent.Name == "iFractal" then Hit.Parent:FindFirstChildOfClass("Humanoid").MaxHealth = 50 end | |
2285 | ||
2286 | Hit.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(5,8)) | |
2287 | if Hit.Name == "Head" then Hit.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(15,30)) end | |
2288 | bleed(Hit,0,1) | |
2289 | local hitms = Instance.new("Sound") | |
2290 | hitms.SoundId="rbxassetid://131864673" | |
2291 | hitms.PlayOnRemove=false | |
2292 | hitms.Volume=0.7 | |
2293 | hitms.Looped=false | |
2294 | hitms.Pitch = 1 | |
2295 | hitms.Parent=player.PlayerGui | |
2296 | hitms:Play() | |
2297 | game.Debris:AddItem(hitms,1) | |
2298 | local hitsound = Instance.new("Sound") | |
2299 | hitsound.SoundId="rbxassetid://151130059" | |
2300 | hitsound.PlayOnRemove=false | |
2301 | hitsound.Volume=.8 | |
2302 | hitsound.MaxDistance = 60 | |
2303 | hitsound.Looped=false | |
2304 | hitsound.Pitch = 1 | |
2305 | hitsound.Parent=Hit | |
2306 | hitsound:Play() | |
2307 | coroutine.resume(coroutine.create(function() | |
2308 | hitm.Rotation = math.random(1, 360) | |
2309 | hitm.Visible = true | |
2310 | wait(.1) | |
2311 | hitm.Visible = false | |
2312 | end)) | |
2313 | ||
2314 | end | |
2315 | end | |
2316 | local RayPart = Instance.new("Part", char) | |
2317 | RayPart.Name = "RayPart" | |
2318 | RayPart.BrickColor = BrickColor.new("Bright yellow") | |
2319 | RayPart.Transparency = 0.4 | |
2320 | RayPart.Material = "Neon" | |
2321 | RayPart.Anchored = true | |
2322 | RayPart.CanCollide = false | |
2323 | RayPart.TopSurface = Enum.SurfaceType.Smooth | |
2324 | RayPart.BottomSurface = Enum.SurfaceType.Smooth | |
2325 | RayPart.formFactor = Enum.FormFactor.Custom | |
2326 | local Distance = (Position-newp.CFrame.p).magnitude | |
2327 | RayPart.Size = Vector3.new(0.1,0.1,5) | |
2328 | RayPart.CFrame = CFrame.new(Position,newp.CFrame.p) * CFrame.new(0,0,-Distance + 2.5) | |
2329 | local RayPartMesh = Instance.new("BlockMesh", RayPart) | |
2330 | game.Debris:AddItem(RayPart,Distance/Speed) | |
2331 | coroutine.resume(coroutine.create(function() | |
2332 | local RayPart = RayPart | |
2333 | local RayPartMesh = RayPartMesh | |
2334 | local Distance = Distance | |
2335 | for i = 1, Distance/Speed do | |
2336 | if RayPart then | |
2337 | wait() | |
2338 | RayPartMesh.Offset = RayPartMesh.Offset + Vector3.new(0, 0, Speed) | |
2339 | end | |
2340 | end | |
2341 | if RayPart then | |
2342 | RayPart:Destroy() | |
2343 | end | |
2344 | end)) | |
2345 | ||
2346 | local flash = greasegun.Flash.Flash.Flash | |
2347 | local barrelhole = greasegun.barrelhole | |
2348 | bolt1.Mesh.Offset = Vector3.new(-.5,0,0) | |
2349 | bolt2.Mesh.Offset = Vector3.new(-.5,0,0) | |
2350 | barrelhole.BrickColor = BrickColor.new("Bright orange") | |
2351 | flash.Visible = true | |
2352 | flash.Rotation = math.random(1,360) | |
2353 | coroutine.resume(coroutine.create(function() | |
2354 | while (flash.Visible == true) do | |
2355 | flash.ImageTransparency=flash.ImageTransparency+.1 | |
2356 | wait() | |
2357 | end | |
2358 | end)) | |
2359 | wait(.1) | |
2360 | flash.Visible = false | |
2361 | flash.ImageTransparency = 0 | |
2362 | bolt1.Mesh.Offset = Vector3.new(0,0,0) | |
2363 | bolt2.Mesh.Offset = Vector3.new(0,0,0) | |
2364 | barrelhole.BrickColor = BrickColor.new("Really black") | |
2365 | firing = false | |
2366 | end | |
2367 | end | |
2368 | ||
2369 | mouse.KeyDown:connect(function(key) | |
2370 | if key == "c" then | |
2371 | cpressed = true | |
2372 | handle.Weld.C1 = CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),math.rad(0),0) | |
2373 | tor["Right Hip"].Part1 = nil | |
2374 | tor["Left Hip"].Part1 = nil | |
2375 | weld(ll, tor, CFrame.new(.5,1,1)*CFrame.Angles(math.rad(0),0,0)) | |
2376 | weld(rl, tor, CFrame.new(-.5,1,1)*CFrame.Angles(math.rad(40),0,0)) | |
2377 | camera.CameraSubject = char.Head | |
2378 | local collider = Instance.new("Part",char) | |
2379 | collider.Transparency = 1 | |
2380 | collider.CanCollide = true | |
2381 | collider.Size = Vector3.new(2, 0.2, 3) | |
2382 | collider.Name = "Collider" | |
2383 | collider:BreakJoints() | |
2384 | weld(collider, char.Head, CFrame.new(0,.5,0)) | |
2385 | char.HumanoidRootPart.RootJoint.Part1 = collider | |
2386 | char.Humanoid.WalkSpeed = 5 | |
2387 | end | |
2388 | end) | |
2389 | ||
2390 | mouse.KeyUp:connect(function(key) | |
2391 | if key == "c" then | |
2392 | cpressed = false | |
2393 | handle.Weld.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0) | |
2394 | animate(rl,.2,CFrame.new(-.5,2,1)*CFrame.Angles(math.rad(0),0,0)) | |
2395 | animate(ll,.2,CFrame.new(.5,2,1)*CFrame.Angles(math.rad(0),0,0)) | |
2396 | camera.CameraSubject = char.Humanoid | |
2397 | char.HumanoidRootPart.RootJoint.Part1 = char.Torso | |
2398 | char.Collider:Destroy() | |
2399 | if rl:FindFirstChild("Weld") then rl.Weld:Destroy() end | |
2400 | tor["Right Hip"].Part1 = rl | |
2401 | if ll:FindFirstChild("Weld") then ll.Weld:Destroy() end | |
2402 | tor["Left Hip"].Part1 = ll | |
2403 | char.Humanoid.WalkSpeed = 16 | |
2404 | end | |
2405 | end) | |
2406 | ||
2407 | function knifeattack() | |
2408 | knifing = true | |
2409 | local knife = Instance.new("Part", workspace) | |
2410 | knife.FormFactor = Enum.FormFactor.Custom | |
2411 | knife.TopSurface = Enum.SurfaceType.Smooth | |
2412 | knife.Size = Vector3.new(0.2, 1.72, 0.82) | |
2413 | knife.CanCollide = false | |
2414 | knife.Name = "knife" | |
2415 | knife.Friction = 0.3 | |
2416 | knife.BottomSurface = Enum.SurfaceType.Smooth | |
2417 | local kmesh = Instance.new("SpecialMesh", knife) | |
2418 | kmesh.MeshId = "http://www.roblox.com/asset/?id=121944778 " | |
2419 | kmesh.TextureId = "http://www.roblox.com/asset/?id=121944805 " | |
2420 | kmesh.Scale = Vector3.new(0.8, 0.8, 0.8) | |
2421 | kmesh.MeshType = Enum.MeshType.FileMesh | |
2422 | weld(knife, la, CFrame.new(0,-1,1)*CFrame.Angles(math.rad(90),math.rad(90),math.rad(0))) | |
2423 | animate(la,.2,CFrame.new(.8,1,0)*CFrame.Angles(math.rad(-90),math.rad(18),0)) | |
2424 | wait(.2) | |
2425 | knifeswing:Play() | |
2426 | animate(knife,.2,CFrame.new(0,-1,1)*CFrame.Angles(math.rad(135),math.rad(90),math.rad(0))) | |
2427 | animate(la,.2,CFrame.new(.8,1,0)*CFrame.Angles(math.rad(-90),math.rad(-58),0)) | |
2428 | for _,guy in pairs(workspace:GetChildren()) do | |
2429 | if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy~=char and (guy:FindFirstChild("HumanoidRootPart").Position-knife.Position).magnitude<5 then | |
2430 | guy.Humanoid:TakeDamage(math.random(10,15)) | |
2431 | if guy:FindFirstChild("Torso") then | |
2432 | bleed(guy.Torso,0,2) | |
2433 | local hitsound = Instance.new("Sound") | |
2434 | hitsound.SoundId="rbxassetid://220833967" | |
2435 | hitsound.PlayOnRemove=false | |
2436 | hitsound.Volume=.8 | |
2437 | hitsound.MaxDistance = 60 | |
2438 | hitsound.Looped=false | |
2439 | hitsound.Pitch = 1 | |
2440 | hitsound.Parent=guy.Torso | |
2441 | hitsound:Play() | |
2442 | game.Debris:AddItem(hitsound,1) | |
2443 | end | |
2444 | if guy:FindFirstChild("UpperTorso") then | |
2445 | bleed(guy.UpperTorso,0,2) | |
2446 | local hitsound = Instance.new("Sound") | |
2447 | hitsound.SoundId="rbxassetid://220833967" | |
2448 | hitsound.PlayOnRemove=false | |
2449 | hitsound.Volume=.8 | |
2450 | hitsound.MaxDistance = 60 | |
2451 | hitsound.Looped=false | |
2452 | hitsound.Pitch = 1 | |
2453 | hitsound.Parent=guy.UpperTorso | |
2454 | hitsound:Play() | |
2455 | game.Debris:AddItem(hitsound,1) | |
2456 | end | |
2457 | ||
2458 | end | |
2459 | end | |
2460 | ||
2461 | wait(.2) | |
2462 | animate(knife,.2,CFrame.new(0,-1,1)*CFrame.Angles(math.rad(90),math.rad(90),math.rad(0))) | |
2463 | animate(la,.2,CFrame.new(.8,1,0)*CFrame.Angles(math.rad(-90),math.rad(-38),0)) | |
2464 | wait(.2) | |
2465 | animate(la,.2,CFrame.new(.8,.2,0)*CFrame.Angles(math.rad(-90),math.rad(18),0)) | |
2466 | wait(.2) | |
2467 | knife:Destroy() | |
2468 | knifing = false | |
2469 | end | |
2470 | ||
2471 | function knifeattack2() | |
2472 | knifing = true | |
2473 | local knife = Instance.new("Part", workspace) | |
2474 | knife.FormFactor = Enum.FormFactor.Custom | |
2475 | knife.TopSurface = Enum.SurfaceType.Smooth | |
2476 | knife.Size = Vector3.new(0.2, 1.72, 0.82) | |
2477 | knife.CanCollide = false | |
2478 | knife.Name = "knife" | |
2479 | knife.Friction = 0.3 | |
2480 | knife.BottomSurface = Enum.SurfaceType.Smooth | |
2481 | local kmesh = Instance.new("SpecialMesh", knife) | |
2482 | kmesh.MeshId = "http://www.roblox.com/asset/?id=121944778 " | |
2483 | kmesh.TextureId = "http://www.roblox.com/asset/?id=121944805 " | |
2484 | kmesh.Scale = Vector3.new(0.8, 0.8, 0.8) | |
2485 | kmesh.MeshType = Enum.MeshType.FileMesh | |
2486 | weld(knife, la, CFrame.new(0,-1,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0))) | |
2487 | animate(la,.2,CFrame.new(.8,.4,-1)*CFrame.Angles(math.rad(10),math.rad(18),0)) | |
2488 | wait(.2) | |
2489 | knifeswing:Play() | |
2490 | animate(la,.2,CFrame.new(.8,.4,.5)*CFrame.Angles(math.rad(-45),math.rad(18),0)) | |
2491 | for _,guy in pairs(workspace:GetChildren()) do | |
2492 | if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy~=char and (guy:FindFirstChild("HumanoidRootPart").Position-knife.Position).magnitude<5 then | |
2493 | guy.Humanoid:TakeDamage(math.random(10,15)) | |
2494 | if guy:FindFirstChild("Torso") then | |
2495 | bleed(guy.Torso,0,2) | |
2496 | local hitsound = Instance.new("Sound") | |
2497 | hitsound.SoundId="rbxassetid://220833967" | |
2498 | hitsound.PlayOnRemove=false | |
2499 | hitsound.Volume=.8 | |
2500 | hitsound.MaxDistance = 60 | |
2501 | hitsound.Looped=false | |
2502 | hitsound.Pitch = 1 | |
2503 | hitsound.Parent=guy.Torso | |
2504 | hitsound:Play() | |
2505 | game.Debris:AddItem(hitsound,1) | |
2506 | end | |
2507 | if guy:FindFirstChild("UpperTorso") then | |
2508 | bleed(guy.UpperTorso,0,2) | |
2509 | local hitsound = Instance.new("Sound") | |
2510 | hitsound.SoundId="rbxassetid://220833967" | |
2511 | hitsound.PlayOnRemove=false | |
2512 | hitsound.Volume=.8 | |
2513 | hitsound.MaxDistance = 60 | |
2514 | hitsound.Looped=false | |
2515 | hitsound.Pitch = 1 | |
2516 | hitsound.Parent=guy.UpperTorso | |
2517 | hitsound:Play() | |
2518 | game.Debris:AddItem(hitsound,1) | |
2519 | end | |
2520 | ||
2521 | end | |
2522 | end | |
2523 | wait(.2) | |
2524 | animate(la,.2,CFrame.new(.8,.4,-1)*CFrame.Angles(math.rad(10),math.rad(18),0)) | |
2525 | wait(.2) | |
2526 | animate(la,.2,CFrame.new(.8,.2,0)*CFrame.Angles(math.rad(-90),math.rad(18),0)) | |
2527 | wait(.2) | |
2528 | knife:Destroy() | |
2529 | knifing = false | |
2530 | end | |
2531 | ||
2532 | mouse.KeyDown:connect(function(key) | |
2533 | if key == "g" and knifing == false then | |
2534 | local attacks = math.random(1,2) | |
2535 | if attacks == 1 then | |
2536 | knifeattack() | |
2537 | end | |
2538 | if attacks == 2 then | |
2539 | knifeattack2() | |
2540 | end | |
2541 | ||
2542 | end | |
2543 | end) | |
2544 | ||
2545 | mouse.KeyDown:connect(function(key) | |
2546 | if key == "x" then | |
2547 | xpressed = true | |
2548 | tor["Right Hip"].Part1 = nil | |
2549 | tor["Left Hip"].Part1 = nil | |
2550 | weld(ll, tor, CFrame.new(.5,1,1)*CFrame.Angles(math.rad(90),math.rad(10),0)) | |
2551 | weld(rl, tor, CFrame.new(-.5,1,1)*CFrame.Angles(math.rad(90),math.rad(-10),0)) | |
2552 | handle.Weld.C1 = CFrame.new(0,-2,0)*CFrame.Angles(math.rad(0),math.rad(0),0) | |
2553 | camera.CameraSubject = char.Head | |
2554 | local collider = Instance.new("Part",char) | |
2555 | collider.Transparency = 1 | |
2556 | collider.CanCollide = true | |
2557 | collider.Size = Vector3.new(2, 0.2, 3) | |
2558 | collider.Name = "Collider" | |
2559 | collider:BreakJoints() | |
2560 | weld(collider, char.Head, CFrame.new(0,-.5,0)) | |
2561 | char.HumanoidRootPart.RootJoint.Part1 = collider | |
2562 | char.Humanoid.WalkSpeed = 0 | |
2563 | animate(collider,.2,CFrame.new(0,-.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0)) | |
2564 | end | |
2565 | end) | |
2566 | ||
2567 | mouse.KeyUp:connect(function(key) | |
2568 | if key == "x" then | |
2569 | xpressed = false | |
2570 | handle.Weld.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0) | |
2571 | animate(rl,.2,CFrame.new(-.5,2,1)*CFrame.Angles(math.rad(0),0,0)) | |
2572 | animate(ll,.2,CFrame.new(.5,2,1)*CFrame.Angles(math.rad(0),0,0)) | |
2573 | camera.CameraSubject = char.Humanoid | |
2574 | char.HumanoidRootPart.RootJoint.Part1 = char.Torso | |
2575 | char.Collider:Destroy() | |
2576 | if rl:FindFirstChild("Weld") then rl.Weld:Destroy() end | |
2577 | tor["Right Hip"].Part1 = rl | |
2578 | if ll:FindFirstChild("Weld") then ll.Weld:Destroy() end | |
2579 | tor["Left Hip"].Part1 = ll | |
2580 | char.Humanoid.WalkSpeed = 16 | |
2581 | end | |
2582 | end) | |
2583 | ||
2584 | function recoil() | |
2585 | if ammo >=1 then | |
2586 | coroutine.resume(coroutine.create(function() | |
2587 | if epressed == 1 and xpressed == false and cpressed == false then | |
2588 | --animate2(handle,.2,CFrame.new(0,.5,.3)*CFrame.Angles(math.rad(0),math.rad(0),0)) | |
2589 | --wait(.2) | |
2590 | --animate2(handle,.2,CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0)) | |
2591 | end | |
2592 | if epressed == 0 and xpressed == false and cpressed == false then | |
2593 | animate2(handle,.2,CFrame.new(0,0,.3)*CFrame.Angles(math.rad(5),math.rad(0),0)) | |
2594 | wait(.2) | |
2595 | animate2(handle,.2,CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0)) | |
2596 | end | |
2597 | ||
2598 | if xpressed == true and epressed == 0 and cpressed == false then | |
2599 | animate2(handle,.2,CFrame.new(0,-2,.3)*CFrame.Angles(math.rad(5),math.rad(0),0)) | |
2600 | wait(.2) | |
2601 | animate2(handle,.2,CFrame.new(0,-2,0)*CFrame.Angles(math.rad(0),math.rad(0),0)) | |
2602 | end | |
2603 | ||
2604 | if cpressed == true and epressed == 0 and xpressed == false then | |
2605 | animate2(handle,.2,CFrame.new(0,-1,.3)*CFrame.Angles(math.rad(5),math.rad(0),0)) | |
2606 | wait(.2) | |
2607 | animate2(handle,.2,CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),math.rad(0),0)) | |
2608 | end | |
2609 | ||
2610 | ||
2611 | end)) | |
2612 | end | |
2613 | end | |
2614 | ||
2615 | local sprinting = false | |
2616 | mouse.KeyDown:connect(function(sprint) | |
2617 | if sprint:byte() == 48 and xpressed == false and cpressed == false and epressed == 0 then | |
2618 | if sprinting == false then | |
2619 | sprinting = true | |
2620 | --canmovemouse = false | |
2621 | --animate2(handle,.2,CFrame.new(0,0,0)*CFrame.Angles(math.rad(-25),math.rad(20),0)) | |
2622 | offset = CFrame.new(.5,.2,-1)*CFrame.Angles(math.rad(-45),math.rad(20),0) | |
2623 | char.Humanoid.WalkSpeed = 30 | |
2624 | end | |
2625 | end | |
2626 | end) | |
2627 | mouse.KeyUp:connect(function(sprint) | |
2628 | if sprint:byte() == 48 and xpressed == false and cpressed == false and epressed == 0 then | |
2629 | sprinting = false | |
2630 | --canmovemouse = true | |
2631 | --animate2(handle,.2,CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0)) | |
2632 | char.Humanoid.WalkSpeed = 16 | |
2633 | offset = CFrame.new(.5,.2,-1)*CFrame.Angles(math.rad(0),math.rad(0),0) | |
2634 | end | |
2635 | end) | |
2636 | ||
2637 | local mousedown = false | |
2638 | mouse.Button1Down:connect(function() | |
2639 | if firing == false then | |
2640 | mousedown = true | |
2641 | while mousedown == true do wait(.05) | |
2642 | recoil() | |
2643 | fire() | |
2644 | end | |
2645 | end | |
2646 | end) | |
2647 | mouse.Button1Up:connect(function() | |
2648 | mousedown = false | |
2649 | end) | |
2650 | ||
2651 | local model = Instance.new("Model",camera) -- Makes a model for it. | |
2652 | model.Name = "Visible "..char.Name | |
2653 | local humanoid = Instance.new("Humanoid", model) -- Humanoid | |
2654 | local larma = Instance.new("Part") -- Left Arm | |
2655 | larma.Name = "Left Arm" | |
2656 | larma.FormFactor = "Symmetric" | |
2657 | larma.Size = la.Size | |
2658 | larma.BrickColor = char["Left Arm"].BrickColor | |
2659 | larma.CanCollide = false | |
2660 | larma.TopSurface = "Smooth" | |
2661 | larma.BottomSurface = "Smooth" | |
2662 | larma.Parent = model | |
2663 | larma:BreakJoints() | |
2664 | local rarma = Instance.new("Part", model) -- Right Arm | |
2665 | rarma.Name = "Right Arm" | |
2666 | rarma.FormFactor = "Symmetric" | |
2667 | rarma.Size = ra.Size | |
2668 | rarma.BrickColor = char["Right Arm"].BrickColor | |
2669 | rarma.CanCollide = false | |
2670 | rarma.TopSurface = "Smooth" | |
2671 | rarma.BottomSurface = "Smooth" | |
2672 | rarma.Parent = model | |
2673 | rarma:BreakJoints() | |
2674 | local laWeld = Instance.new("Weld",larma) | |
2675 | laWeld.Name = "laWeld" | |
2676 | laWeld.Part0 = larma | |
2677 | laWeld.Part1 = la | |
2678 | laWeld.C0 = CFrame.new(0,0,0) | |
2679 | local raWeld = Instance.new("Weld",rarma) | |
2680 | raWeld.Name = "raWeld" | |
2681 | raWeld.Part0 = rarma | |
2682 | raWeld.Part1 = ra | |
2683 | raWeld.C0 = CFrame.new(0,0,0) | |
2684 | ||
2685 | if char:FindFirstChild("Shirt") then -- Shirt | |
2686 | char.Shirt:Clone().Parent = model | |
2687 | end | |
2688 | local children = char:GetChildren() -- Character Meshes | |
2689 | for i=1, #children do | |
2690 | if children[i].ClassName == "CharacterMesh" then | |
2691 | children[i]:Clone().Parent = model | |
2692 | end | |
2693 | end | |
2694 | ||
2695 | bin.Deselected:connect(function() | |
2696 | greasegun:Destroy() | |
2697 | tool:Destroy() | |
2698 | bg:Destroy() | |
2699 | gungui:Destroy() | |
2700 | model:Destroy() | |
2701 | canmovemouse = false | |
2702 | if la:FindFirstChild("Weld") then la.Weld:Destroy() end | |
2703 | tor["Left Shoulder"].Part1 = la | |
2704 | if ra:FindFirstChild("Weld") then ra.Weld:Destroy() end | |
2705 | tor["Right Shoulder"].Part1 = ra | |
2706 | if char.Torso:FindFirstChild("Weld") then char.Torso.Weld:Destroy() end | |
2707 | camera.CameraSubject = char.Humanoid | |
2708 | ||
2709 | end) | |
2710 | end) | |
2711 | end) |