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