SHOW:
|
|
- or go back to the newest paste.
1 | - | local player=game:GetService("Players").LocalPlayer |
1 | + | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end |
2 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
3 | - | local mouse=player:GetMouse() |
3 | + | do |
4 | print("FE Compatibility code by Mokiros") | |
5 | script.Parent = Player.Character | |
6 | ||
7 | --RemoteEvent for communicating | |
8 | local Event = Instance.new("RemoteEvent") | |
9 | Event.Name = "UserInput_Event" | |
10 | ||
11 | --Fake event to make stuff like Mouse.KeyDown work | |
12 | local function fakeEvent() | |
13 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} | |
14 | t.connect = t.Connect | |
15 | return t | |
16 | end | |
17 | ||
18 | --Creating fake input objects with fake variables | |
19 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
20 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
21 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
22 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
23 | end} | |
24 | --Merged 2 functions into one by checking amount of arguments | |
25 | CAS.UnbindAction = CAS.BindAction | |
26 | ||
27 | --This function will trigger the events that have been :Connect()'ed | |
28 | local function te(self,ev,...) | |
29 | local t = m[ev] | |
30 | if t and t._fakeEvent and t.Function then | |
31 | t.Function(...) | |
32 | end | |
33 | end | |
34 | m.TrigEvent = te | |
35 | UIS.TrigEvent = te | |
36 | ||
37 | Event.OnServerEvent:Connect(function(plr,io) | |
38 | if plr~=Player then return end | |
39 | if io.isMouse then | |
40 | m.Target = io.Target | |
41 | m.Hit = io.Hit | |
42 | else | |
43 | local b = io.UserInputState == Enum.UserInputState.Begin | |
44 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
45 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
46 | end | |
47 | for _,t in pairs(CAS.Actions) do | |
48 | for _,k in pairs(t.Keys) do | |
49 | if k==io.KeyCode then | |
50 | t.Function(t.Name,io.UserInputState,io) | |
51 | end | |
52 | end | |
53 | end | |
54 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
55 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
56 | end | |
57 | end) | |
58 | Event.Parent = NLS([==[ | |
59 | local Player = game:GetService("Players").LocalPlayer | |
60 | local Event = script:WaitForChild("UserInput_Event") | |
61 | ||
62 | local UIS = game:GetService("UserInputService") | |
63 | local input = function(io,a) | |
64 | if a then return end | |
65 | --Since InputObject is a client-side instance, we create and pass table instead | |
66 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) | |
67 | end | |
68 | UIS.InputBegan:Connect(input) | |
69 | UIS.InputEnded:Connect(input) | |
70 | ||
71 | local Mouse = Player:GetMouse() | |
72 | local h,t | |
73 | --Give the server mouse data 30 times every second, but only if the values changed | |
74 | --If player is not moving their mouse, client won't fire events | |
75 | while wait(1/30) do | |
76 | if h~=Mouse.Hit or t~=Mouse.Target then | |
77 | h,t=Mouse.Hit,Mouse.Target | |
78 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
79 | end | |
80 | end]==],Player.Character) | |
81 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
82 | end | |
83 | ||
84 | local player=owner | |
85 | local char=player.Character | |
86 | ||
87 | local m = Instance.new("Model") | |
88 | m.Name = "Flamethrower" | |
89 | p1 = Instance.new("Part", m) | |
90 | p1.BrickColor = BrickColor.new("Really black") | |
91 | p1.FormFactor = Enum.FormFactor.Custom | |
92 | p1.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
93 | p1.CFrame = CFrame.new(-4.31863213, 1.2999835, 26.8280258, 0.898792505, -0.438372105, 6.44474255e-007, 4.2475844e-007, -8.7068031e-007, 0.999996066, -0.438369185, -0.898793578, 7.74858847e-007) | |
94 | p1.CanCollide = false | |
95 | b1 = Instance.new("CylinderMesh", p1) | |
96 | b1.Name = "Mesh" | |
97 | b1.Scale = Vector3.new(0.699999988, 1, 1.39999998) | |
98 | p2 = Instance.new("Part", m) | |
99 | p2.BrickColor = BrickColor.new("Really black") | |
100 | p2.FormFactor = Enum.FormFactor.Custom | |
101 | p2.Size = Vector3.new(0.200000003, 0.799999952, 0.200000003) | |
102 | p2.CFrame = CFrame.new(-4.22384691, 1.29998171, 27.1336765, -0.945517242, 0.325569242, 6.44474255e-007, -5.4352688e-007, 9.19547631e-007, 0.999996066, 0.325566202, 0.945517898, 7.74858847e-007) | |
103 | p2.CanCollide = false | |
104 | b2 = Instance.new("CylinderMesh", p2) | |
105 | b2.Name = "Mesh" | |
106 | b2.Scale = Vector3.new(0.899999976, 1, 1.5) | |
107 | p3 = Instance.new("Part", m) | |
108 | p3.BrickColor = BrickColor.new("Black") | |
109 | p3.Material = Enum.Material.Grass | |
110 | p3.Name = "Handle2" | |
111 | p3.FormFactor = Enum.FormFactor.Custom | |
112 | p3.Size = Vector3.new(0.200000003, 0.400000006, 0.200000003) | |
113 | p3.CFrame = CFrame.new(-4.36384678, 1.48997498, 26.7136898, 0.998628676, -0.0523356572, 1.65257313e-006, 0.0505531132, 0.964598, 0.258818507, -0.0135439271, -0.258463174, 0.96592474) | |
114 | p3.CanCollide = false | |
115 | b3 = Instance.new("CylinderMesh", p3) | |
116 | b3.Name = "Mesh" | |
117 | b3.Scale = Vector3.new(0.699999988, 1, 1.39999998) | |
118 | p4 = Instance.new("Part", m) | |
119 | p4.BrickColor = BrickColor.new("Really black") | |
120 | p4.FormFactor = Enum.FormFactor.Custom | |
121 | p4.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
122 | p4.CFrame = CFrame.new(-4.08384609, 1.29998279, 26.8336773, 6.66825997e-007, 1.56834642e-006, 0.999999166, 0.999996066, 6.85452505e-007, 7.1152931e-007, 8.0466117e-007, 0.999998689, 1.56834619e-006) | |
123 | p4.CanCollide = false | |
124 | b4 = Instance.new("CylinderMesh", p4) | |
125 | b4.Name = "Mesh" | |
126 | b4.Scale = Vector3.new(1.20000005, 0.5, 1.78999996) | |
127 | p5 = Instance.new("Part", m) | |
128 | p5.BrickColor = BrickColor.new("Really black") | |
129 | p5.FormFactor = Enum.FormFactor.Custom | |
130 | p5.Size = Vector3.new(0.200000003, 1.79999995, 0.200000003) | |
131 | p5.CFrame = CFrame.new(-4.08383894, 1.29998529, 27.6837158, 6.66825997e-007, 1.56834642e-006, 0.999999166, 0.999996066, 6.85452505e-007, 7.1152931e-007, 8.0466117e-007, 0.999998689, 1.56834619e-006) | |
132 | p5.CanCollide = false | |
133 | b5 = Instance.new("CylinderMesh", p5) | |
134 | b5.Name = "Mesh" | |
135 | b5.Scale = Vector3.new(1, 1, 1.70000005) | |
136 | p6 = Instance.new("Part", m) | |
137 | p6.BrickColor = BrickColor.new("Really black") | |
138 | p6.Size = Vector3.new(1, 1.20000005, 1) | |
139 | p6.CFrame = CFrame.new(-4.07870293, 1.24756896, 29.8614006, -0.0122325243, 0.00382106518, 0.999915302, 0.999817967, -0.0144664943, 0.0122870263, 0.0145196915, 0.999886394, -0.0036436012) | |
140 | p6.BottomSurface = Enum.SurfaceType.Smooth | |
141 | p6.TopSurface = Enum.SurfaceType.Smooth | |
142 | b6 = Instance.new("SpecialMesh", p6) | |
143 | b6.MeshType = Enum.MeshType.Brick | |
144 | b6.Name = "Mesh" | |
145 | b6.Scale = Vector3.new(0.461538464, 0.769230723, 0.461538464) | |
146 | b7 = Instance.new("CylinderMesh", p6) | |
147 | b7.Name = "Mesh" | |
148 | b7.Scale = Vector3.new(1, 0.899999976, 0.439999998) | |
149 | d1 = Instance.new("Decal", p6) | |
150 | d1.Texture = "http://www.roblox.com/asset/?id=85448092" | |
151 | d1.Face = Enum.NormalId.Top | |
152 | p7 = Instance.new("Part", m) | |
153 | p7.BrickColor = BrickColor.new("Institutional white") | |
154 | p7.Size = Vector3.new(1, 1.20000005, 1) | |
155 | p7.CFrame = CFrame.new(-4.08290291, 1.26348102, 28.7615242, -0.0122325243, 0.00382106518, 0.999915302, 0.999817967, -0.0144664943, 0.0122870263, 0.0145196915, 0.999886394, -0.0036436012) | |
156 | p7.BottomSurface = Enum.SurfaceType.Smooth | |
157 | p7.TopSurface = Enum.SurfaceType.Smooth | |
158 | b8 = Instance.new("SpecialMesh", p7) | |
159 | b8.MeshType = Enum.MeshType.Brick | |
160 | b8.Name = "Mesh" | |
161 | b8.Scale = Vector3.new(0.15384616, 1, 0.307692319) | |
162 | b9 = Instance.new("CylinderMesh", p7) | |
163 | b9.Name = "Mesh" | |
164 | b9.Scale = Vector3.new(1.70000005, 1.10000002, 0.300000012) | |
165 | p8 = Instance.new("Part", m) | |
166 | p8.BrickColor = BrickColor.new("Really black") | |
167 | p8.Name = "Barrel" | |
168 | p8.Size = Vector3.new(1, 1.20000005, 1) | |
169 | p8.CFrame = CFrame.new(-4.07320023, 1.24000597, 30.3669701, 0.999916196, 0.00121372147, 0.0126282591, 0.0122011788, 0.18082355, -0.983437181, -0.00347740925, 0.983514667, 0.180784032) | |
170 | p8.BottomSurface = Enum.SurfaceType.Smooth | |
171 | p8.TopSurface = Enum.SurfaceType.Smooth | |
172 | b10 = Instance.new("SpecialMesh", p8) | |
173 | b10.MeshId = "http://www.roblox.com/asset/?id=1091603" | |
174 | b10.TextureId = "" | |
175 | b10.MeshType = Enum.MeshType.FileMesh | |
176 | b10.Name = "Mesh" | |
177 | b10.Scale = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
178 | p9 = Instance.new("Part", m) | |
179 | p9.BrickColor = BrickColor.new("Really black") | |
180 | p9.FormFactor = Enum.FormFactor.Custom | |
181 | p9.Size = Vector3.new(0.288717359, 0.288717419, 0.288717419) | |
182 | p9.CFrame = CFrame.new(-4.12095404, 1.04495895, 29.1705666, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
183 | p9.BottomSurface = Enum.SurfaceType.Smooth | |
184 | p9.TopSurface = Enum.SurfaceType.Smooth | |
185 | b11 = Instance.new("SpecialMesh", p9) | |
186 | b11.MeshType = Enum.MeshType.Brick | |
187 | b11.Name = "Mesh" | |
188 | b11.Scale = Vector3.new(1.37011397, 0.164413691, 1.50712562) | |
189 | p10 = Instance.new("Part", m) | |
190 | p10.BrickColor = BrickColor.new("Institutional white") | |
191 | p10.Size = Vector3.new(1, 1.20000005, 1) | |
192 | p10.CFrame = CFrame.new(-4.07969093, 1.060624, 28.9585953, -0.999915302, -0.0122325243, -0.00382106518, -0.0122870263, 0.999817967, 0.0144664943, 0.0036436012, 0.0145196915, -0.999886394) | |
193 | p10.BottomSurface = Enum.SurfaceType.Smooth | |
194 | p10.TopSurface = Enum.SurfaceType.Smooth | |
195 | b12 = Instance.new("SpecialMesh", p10) | |
196 | b12.MeshType = Enum.MeshType.Brick | |
197 | b12.Name = "Mesh" | |
198 | b12.Scale = Vector3.new(0.15384616, 0.153846145, 1) | |
199 | p11 = Instance.new("Part", m) | |
200 | p11.BrickColor = BrickColor.new("Institutional white") | |
201 | p11.Name = "Handle" | |
202 | p11.Size = Vector3.new(1, 1.20000005, 1) | |
203 | p11.CFrame = CFrame.new(-4.07311201, 0.707809985, 28.6968918, -0.999919653, 0.0111990925, 0.00594851235, -0.0121958125, -0.977798998, -0.209190041, 0.00347371167, -0.209245741, 0.977856994) | |
204 | p11.BottomSurface = Enum.SurfaceType.Smooth | |
205 | p11.TopSurface = Enum.SurfaceType.Smooth | |
206 | b13 = Instance.new("SpecialMesh", p11) | |
207 | b13.MeshType = Enum.MeshType.Brick | |
208 | b13.Name = "Mesh" | |
209 | b13.Scale = Vector3.new(0.15384616, 0.538461506, 0.307692319) | |
210 | p12 = Instance.new("Part", m) | |
211 | p12.BrickColor = BrickColor.new("Really black") | |
212 | p12.FormFactor = Enum.FormFactor.Custom | |
213 | p12.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958) | |
214 | p12.CFrame = CFrame.new(-4.08139706, 0.981667995, 29.0914536, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
215 | p12.BottomSurface = Enum.SurfaceType.Smooth | |
216 | p12.TopSurface = Enum.SurfaceType.Smooth | |
217 | b14 = Instance.new("SpecialMesh", p12) | |
218 | b14.MeshType = Enum.MeshType.Brick | |
219 | b14.Name = "Mesh" | |
220 | b14.Scale = Vector3.new(0.351311207, 0.351311326, 0.175655678) | |
221 | p13 = Instance.new("Part", m) | |
222 | p13.BrickColor = BrickColor.new("Really black") | |
223 | p13.FormFactor = Enum.FormFactor.Custom | |
224 | p13.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958) | |
225 | p13.CFrame = CFrame.new(-4.08139706, 0.882772982, 29.1310101, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
226 | p13.BottomSurface = Enum.SurfaceType.Smooth | |
227 | p13.TopSurface = Enum.SurfaceType.Smooth | |
228 | b15 = Instance.new("SpecialMesh", p13) | |
229 | b15.MeshType = Enum.MeshType.Wedge | |
230 | b15.Name = "Mesh" | |
231 | b15.Scale = Vector3.new(0.351311207, 0.175655663, 0.175655678) | |
232 | p14 = Instance.new("Part", m) | |
233 | p14.BrickColor = BrickColor.new("Really black") | |
234 | p14.FormFactor = Enum.FormFactor.Custom | |
235 | p14.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958) | |
236 | p14.CFrame = CFrame.new(-4.08139706, 0.882772982, 29.2496853, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
237 | p14.BottomSurface = Enum.SurfaceType.Smooth | |
238 | p14.TopSurface = Enum.SurfaceType.Smooth | |
239 | b16 = Instance.new("SpecialMesh", p14) | |
240 | b16.MeshType = Enum.MeshType.Wedge | |
241 | b16.Name = "Mesh" | |
242 | b16.Scale = Vector3.new(0.351311207, 0.175655663, 0.175655678) | |
243 | p15 = Instance.new("Part", m) | |
244 | p15.BrickColor = BrickColor.new("Really black") | |
245 | p15.FormFactor = Enum.FormFactor.Custom | |
246 | p15.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958) | |
247 | p15.CFrame = CFrame.new(-4.08139706, 0.922330976, 29.0914536, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
248 | p15.BottomSurface = Enum.SurfaceType.Smooth | |
249 | p15.TopSurface = Enum.SurfaceType.Smooth | |
250 | b17 = Instance.new("SpecialMesh", p15) | |
251 | b17.MeshType = Enum.MeshType.Brick | |
252 | b17.Name = "Mesh" | |
253 | b17.Scale = Vector3.new(0.351311207, 0.175655663, 0.175655678) | |
254 | p16 = Instance.new("Part", m) | |
255 | p16.BrickColor = BrickColor.new("Really black") | |
256 | p16.FormFactor = Enum.FormFactor.Custom | |
257 | p16.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958) | |
258 | p16.CFrame = CFrame.new(-4.12095404, 0.831354022, 28.9332237, 1, 4.23044048e-006, -3.67623443e-006, 4.23044048e-006, 1, 1.40141863e-008, -3.67623443e-006, 1.40141863e-008, 1) | |
259 | p16.BottomSurface = Enum.SurfaceType.Smooth | |
260 | p16.TopSurface = Enum.SurfaceType.Smooth | |
261 | b18 = Instance.new("SpecialMesh", p16) | |
262 | b18.MeshType = Enum.MeshType.Wedge | |
263 | b18.Name = "Mesh" | |
264 | b18.Scale = Vector3.new(1.75655627, 1.68629432, 0.175655678) | |
265 | p17 = Instance.new("Part", m) | |
266 | p17.BrickColor = BrickColor.new("Really black") | |
267 | p17.FormFactor = Enum.FormFactor.Custom | |
268 | p17.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958) | |
269 | p17.CFrame = CFrame.new(-4.12095404, 0.878817022, 28.9727783, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
270 | p17.BottomSurface = Enum.SurfaceType.Smooth | |
271 | p17.TopSurface = Enum.SurfaceType.Smooth | |
272 | b19 = Instance.new("SpecialMesh", p17) | |
273 | b19.MeshType = Enum.MeshType.Brick | |
274 | b19.Name = "Mesh" | |
275 | b19.Scale = Vector3.new(1.75655627, 1.2647208, 0.175655678) | |
276 | p18 = Instance.new("Part", m) | |
277 | p18.BrickColor = BrickColor.new("Really black") | |
278 | p18.FormFactor = Enum.FormFactor.Custom | |
279 | p18.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958) | |
280 | p18.CFrame = CFrame.new(-4.08139706, 0.882772982, 29.0914536, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
281 | p18.BottomSurface = Enum.SurfaceType.Smooth | |
282 | p18.TopSurface = Enum.SurfaceType.Smooth | |
283 | b20 = Instance.new("SpecialMesh", p18) | |
284 | b20.MeshType = Enum.MeshType.Brick | |
285 | b20.Name = "Mesh" | |
286 | b20.Scale = Vector3.new(0.351311207, 0.175655663, 0.175655678) | |
287 | p19 = Instance.new("Part", m) | |
288 | p19.BrickColor = BrickColor.new("Really black") | |
289 | p19.FormFactor = Enum.FormFactor.Custom | |
290 | p19.Size = Vector3.new(0.799999356, 0.200000003, 0.399999857) | |
291 | p19.CFrame = CFrame.new(-4.08384228, 0.900013506, 26.983717, -9.93235176e-007, 0.999998927, 1.46056539e-006, -0.987684608, 6.33298328e-007, -0.156433105, -0.156434968, 1.56834574e-006, 0.987686932) | |
292 | p19.CanCollide = false | |
293 | b21 = Instance.new("BlockMesh", p19) | |
294 | b21.Name = "Mesh" | |
295 | b21.Scale = Vector3.new(1, 1, 0.699999988) | |
296 | p20 = Instance.new("Part", m) | |
297 | p20.BrickColor = BrickColor.new("Really black") | |
298 | p20.FormFactor = Enum.FormFactor.Custom | |
299 | p20.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958) | |
300 | p20.CFrame = CFrame.new(-4.12095404, 0.700815022, 29.0321178, 1, -5.8353038e-008, -6.71499549e-008, 6.71499549e-008, 2.22569144e-010, -1, -5.8353038e-008, 1, -2.22569144e-010) | |
301 | p20.BottomSurface = Enum.SurfaceType.Smooth | |
302 | p20.TopSurface = Enum.SurfaceType.Smooth | |
303 | b22 = Instance.new("SpecialMesh", p20) | |
304 | b22.MeshType = Enum.MeshType.Wedge | |
305 | b22.Name = "Mesh" | |
306 | b22.Scale = Vector3.new(1.75655627, 0.702622652, 0.175655678) | |
307 | p21 = Instance.new("Part", m) | |
308 | p21.BrickColor = BrickColor.new("Really black") | |
309 | p21.FormFactor = Enum.FormFactor.Custom | |
310 | p21.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958) | |
311 | p21.CFrame = CFrame.new(-4.12095404, 0.700815022, 29.3090191, -1, -0, -0, -0, -0, -1, -0, -1, -0) | |
312 | p21.BottomSurface = Enum.SurfaceType.Smooth | |
313 | p21.TopSurface = Enum.SurfaceType.Smooth | |
314 | b23 = Instance.new("SpecialMesh", p21) | |
315 | b23.MeshType = Enum.MeshType.Wedge | |
316 | b23.Name = "Mesh" | |
317 | b23.Scale = Vector3.new(1.75655627, 0.702622652, 0.175655678) | |
318 | p22 = Instance.new("Part", m) | |
319 | p22.BrickColor = BrickColor.new("Really black") | |
320 | p22.FormFactor = Enum.FormFactor.Custom | |
321 | p22.Size = Vector3.new(0.799999356, 0.200000003, 0.200000003) | |
322 | p22.CFrame = CFrame.new(-4.08384562, 0.887999296, 27.1074524, -9.93235176e-007, 0.999998927, 1.46056539e-006, -0.987684608, 6.33298328e-007, -0.156433105, -0.156434968, 1.56834574e-006, 0.987686932) | |
323 | p22.CanCollide = false | |
324 | b24 = Instance.new("BlockMesh", p22) | |
325 | b24.Name = "Mesh" | |
326 | b24.Scale = Vector3.new(1, 0.300000012, 0.899999976) | |
327 | p23 = Instance.new("Part", m) | |
328 | p23.BrickColor = BrickColor.new("Really black") | |
329 | p23.FormFactor = Enum.FormFactor.Custom | |
330 | p23.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958) | |
331 | p23.CFrame = CFrame.new(-4.08139706, 0.843216002, 29.1705666, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
332 | p23.BottomSurface = Enum.SurfaceType.Smooth | |
333 | p23.TopSurface = Enum.SurfaceType.Smooth | |
334 | b25 = Instance.new("SpecialMesh", p23) | |
335 | b25.MeshType = Enum.MeshType.Brick | |
336 | b25.Name = "Mesh" | |
337 | b25.Scale = Vector3.new(0.351311207, 0.175655663, 0.878278494) | |
338 | p24 = Instance.new("Part", m) | |
339 | p24.BrickColor = BrickColor.new("Really black") | |
340 | p24.FormFactor = Enum.FormFactor.Custom | |
341 | p24.Size = Vector3.new(0.474551886, 0.474551976, 0.474551976) | |
342 | p24.CFrame = CFrame.new(-4.14073181, 0.728498995, 28.9727783, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
343 | p24.BottomSurface = Enum.SurfaceType.Smooth | |
344 | p24.TopSurface = Enum.SurfaceType.Smooth | |
345 | b26 = Instance.new("SpecialMesh", p24) | |
346 | b26.MeshType = Enum.MeshType.Brick | |
347 | b26.Name = "Mesh" | |
348 | b26.Scale = Vector3.new(0.750219524, 0.0333430953, 0.0833577439) | |
349 | p25 = Instance.new("Part", m) | |
350 | p25.BrickColor = BrickColor.new("Really black") | |
351 | p25.FormFactor = Enum.FormFactor.Custom | |
352 | p25.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958) | |
353 | p25.CFrame = CFrame.new(-4.12095404, 0.661257982, 29.1705666, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
354 | p25.BottomSurface = Enum.SurfaceType.Smooth | |
355 | p25.TopSurface = Enum.SurfaceType.Smooth | |
356 | b27 = Instance.new("SpecialMesh", p25) | |
357 | b27.MeshType = Enum.MeshType.Brick | |
358 | b27.Name = "Mesh" | |
359 | b27.Scale = Vector3.new(1.75655627, 0.175655663, 1.93221235) | |
360 | p26 = Instance.new("Part", m) | |
361 | p26.BrickColor = BrickColor.new("Really black") | |
362 | p26.FormFactor = Enum.FormFactor.Custom | |
363 | p26.Size = Vector3.new(0.474551886, 0.474551976, 0.474551976) | |
364 | p26.CFrame = CFrame.new(-4.12095404, 0.601921976, 29.1705666, 1, -0, 0, 0, -0, 1, 0, -1, 0) | |
365 | p26.BottomSurface = Enum.SurfaceType.Smooth | |
366 | p26.TopSurface = Enum.SurfaceType.Smooth | |
367 | b28 = Instance.new("SpecialMesh", p26) | |
368 | b28.MeshType = Enum.MeshType.Wedge | |
369 | b28.Name = "Mesh" | |
370 | b28.Scale = Vector3.new(0.833577335, 0.916935086, 0.166715518) | |
371 | p27 = Instance.new("Part", m) | |
372 | p27.BrickColor = BrickColor.new("Dark stone grey") | |
373 | p27.Transparency = 1 | |
374 | p27.Name = "Handle3" | |
375 | p27.FormFactor = Enum.FormFactor.Custom | |
376 | p27.Size = Vector3.new(1, 1.4000001, 0.200000033) | |
377 | p27.CFrame = CFrame.new(-4.08382893, 0.999998987, 28.0838623, 0.999999404, -1.18091657e-006, 5.96045709e-007, 5.96045652e-007, -6.55650126e-007, 0.999996662, 1.18091657e-006, -0.999998808, 6.55650069e-007) | |
378 | p27.BottomSurface = Enum.SurfaceType.Smooth | |
379 | p27.TopSurface = Enum.SurfaceType.Smooth | |
380 | b29 = Instance.new("SpecialMesh", p27) | |
381 | b29.MeshType = Enum.MeshType.Wedge | |
382 | b29.Name = "Mesh" | |
383 | b29.Scale = Vector3.new(0.25, 0.25, 0.200000003) | |
384 | m.Parent = char | |
385 | m:MakeJoints() | |
386 | ||
387 | ||
388 | local m2 = Instance.new("Model") | |
389 | m2.Name = "Fueltank" | |
390 | p1 = Instance.new("Part", m2) | |
391 | p1.BrickColor = BrickColor.new("Black") | |
392 | p1.FormFactor = Enum.FormFactor.Custom | |
393 | p1.Size = Vector3.new(0.400000036, 0.200000003, 0.200000003) | |
394 | p1.CFrame = CFrame.new(-0.283439994, 0.479694009, -15.516386, 1.56834642e-006, -6.78001982e-007, 0.999999046, 5.96045879e-007, -0.999996066, 6.63100707e-007, 0.999998689, -8.64265758e-007, 1.59814817e-006) | |
395 | b1 = Instance.new("CylinderMesh", p1) | |
396 | b1.Name = "Mesh" | |
397 | b1.Scale = Vector3.new(2, 1.5, 1) | |
398 | p2 = Instance.new("Part", m2) | |
399 | p2.BrickColor = BrickColor.new("Institutional white") | |
400 | p2.Material = Enum.Material.Neon | |
401 | p2.Name = "ChangeColor" | |
402 | p2.FormFactor = Enum.FormFactor.Custom | |
403 | p2.Size = Vector3.new(0.400000036, 1.19999981, 1) | |
404 | p2.CFrame = CFrame.new(0.116168, 1.10000396, -15.0161295, 1.56834642e-006, -6.78001982e-007, 0.999999046, 5.96045879e-007, -0.999996066, 6.63100707e-007, 0.999998689, -8.64265758e-007, 1.59814817e-006) | |
405 | p2.CanCollide = false | |
406 | b2 = Instance.new("CylinderMesh", p2) | |
407 | b2.Name = "Mesh" | |
408 | b2.Scale = Vector3.new(2, 1, 1) | |
409 | p3 = Instance.new("Part", m2) | |
410 | p3.BrickColor = BrickColor.new("Mid gray") | |
411 | p3.Material = Enum.Material.Neon | |
412 | p3.Name = "FuelCenter" | |
413 | p3.FormFactor = Enum.FormFactor.Custom | |
414 | p3.Size = Vector3.new(0.400000036, 0.799999833, 1) | |
415 | p3.CFrame = CFrame.new(-0.283439994, 1.19967496, -15.5163736, 1.56834642e-006, -6.78001982e-007, 0.999999046, 5.96045879e-007, -0.999996066, 6.63100707e-007, 0.999998689, -8.64265758e-007, 1.59814817e-006) | |
416 | b3 = Instance.new("CylinderMesh", p3) | |
417 | b3.Name = "Mesh" | |
418 | b3.Scale = Vector3.new(1.39999998, 1, 1) | |
419 | p4 = Instance.new("Part", m2) | |
420 | p4.BrickColor = BrickColor.new("Really black") | |
421 | p4.FormFactor = Enum.FormFactor.Custom | |
422 | p4.Size = Vector3.new(0.799999356, 0.799999356, 0.799999356) | |
423 | p4.CFrame = CFrame.new(0.125933915, 0.449839592, -15.0262089, 0.000333837903, 0.000261210633, 0.999998927, -0.999996006, -5.68053565e-007, 0.000335178163, -7.72354667e-007, -0.999998629, 0.000264377333) | |
424 | p4.BottomSurface = Enum.SurfaceType.Smooth | |
425 | p4.TopSurface = Enum.SurfaceType.Smooth | |
426 | b4 = Instance.new("SpecialMesh", p4) | |
427 | b4.MeshType = Enum.MeshType.Sphere | |
428 | b4.Name = "Mesh" | |
429 | p5 = Instance.new("Part", m2) | |
430 | p5.BrickColor = BrickColor.new("Really black") | |
431 | p5.FormFactor = Enum.FormFactor.Custom | |
432 | p5.Size = Vector3.new(0.799999356, 0.799999356, 0.799999356) | |
433 | p5.CFrame = CFrame.new(-0.283836007, 1.60003495, -15.5161457, -6.74276521e-007, -1.59814874e-006, 0.999998927, -0.999996066, -5.96045879e-007, 6.44474198e-007, -7.74858904e-007, -0.999998748, 1.56834574e-006) | |
434 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
435 | p5.TopSurface = Enum.SurfaceType.Smooth | |
436 | b5 = Instance.new("SpecialMesh", p5) | |
437 | b5.MeshType = Enum.MeshType.Sphere | |
438 | b5.Name = "Mesh" | |
439 | b5.Scale = Vector3.new(0.709999979, 0.709999979, 0.709999979) | |
440 | p6 = Instance.new("Part", m2) | |
441 | p6.BrickColor = BrickColor.new("Really black") | |
442 | p6.FormFactor = Enum.FormFactor.Custom | |
443 | p6.Size = Vector3.new(0.400000036, 0.200000003, 0.200000003) | |
444 | p6.CFrame = CFrame.new(0.116157003, 2.09999895, -15.0161324, 1.5385441e-006, -6.66825883e-007, 0.999999046, 6.85452505e-007, -0.999996066, 6.74276464e-007, 0.999998748, -7.15254316e-007, 1.53854353e-006) | |
445 | b6 = Instance.new("CylinderMesh", p6) | |
446 | b6.Name = "Mesh" | |
447 | b6.Scale = Vector3.new(2, 1, 1) | |
448 | p7 = Instance.new("Part", m2) | |
449 | p7.BrickColor = BrickColor.new("Really black") | |
450 | p7.FormFactor = Enum.FormFactor.Custom | |
451 | p7.Size = Vector3.new(0.799999356, 0.799999356, 0.799999356) | |
452 | p7.CFrame = CFrame.new(0.116163999, 1.70000398, -15.0161362, 1.56834642e-006, -6.78001982e-007, 0.999999046, 5.96045879e-007, -0.999996066, 6.63100707e-007, 0.999998689, -8.64265758e-007, 1.59814817e-006) | |
453 | p7.BottomSurface = Enum.SurfaceType.Smooth | |
454 | p7.TopSurface = Enum.SurfaceType.Smooth | |
455 | b7 = Instance.new("SpecialMesh", p7) | |
456 | b7.MeshType = Enum.MeshType.Sphere | |
457 | b7.Name = "Mesh" | |
458 | p8 = Instance.new("Part", m2) | |
459 | p8.BrickColor = BrickColor.new("Really black") | |
460 | p8.FormFactor = Enum.FormFactor.Custom | |
461 | p8.Size = Vector3.new(0.799999356, 0.799999356, 0.799999356) | |
462 | p8.CFrame = CFrame.new(-0.283437014, 0.779699028, -15.5163822, -6.74276521e-007, -1.59814874e-006, 0.999998927, -0.999996066, -5.96045879e-007, 6.44474198e-007, -7.74858904e-007, -0.999998748, 1.56834574e-006) | |
463 | p8.BottomSurface = Enum.SurfaceType.Smooth | |
464 | p8.TopSurface = Enum.SurfaceType.Smooth | |
465 | b8 = Instance.new("SpecialMesh", p8) | |
466 | b8.MeshType = Enum.MeshType.Sphere | |
467 | b8.Name = "Mesh" | |
468 | b8.Scale = Vector3.new(0.709999979, 0.709999979, 0.709999979) | |
469 | p9 = Instance.new("Part", m2) | |
470 | p9.BrickColor = BrickColor.new("Really black") | |
471 | p9.FormFactor = Enum.FormFactor.Custom | |
472 | p9.Size = Vector3.new(0.400000036, 0.200000003, 0.200000003) | |
473 | p9.CFrame = CFrame.new(-0.28343299, 0.279718012, -15.5163898, 7.71134239e-007, 0.999998987, -1.59814874e-006, 0.999996066, 6.18397394e-007, -5.96045879e-007, 9.23870459e-007, 1.59814817e-006, -0.999998748) | |
474 | b9 = Instance.new("CylinderMesh", p9) | |
475 | b9.Name = "Mesh" | |
476 | b9.Scale = Vector3.new(2, 1.5, 1) | |
477 | p10 = Instance.new("Part", m2) | |
478 | p10.BrickColor = BrickColor.new("Really black") | |
479 | p10.FormFactor = Enum.FormFactor.Custom | |
480 | p10.Size = Vector3.new(0.799999356, 0.799999356, 0.799999356) | |
481 | p10.CFrame = CFrame.new(-0.68383199, 1.701056, -15.012146, -5.82017606e-007, 0.000486697129, 0.999998808, -0.999639988, -0.026683826, 1.37168181e-005, 0.0266824923, -0.999642611, 0.000489670201) | |
482 | p10.BottomSurface = Enum.SurfaceType.Smooth | |
483 | p10.TopSurface = Enum.SurfaceType.Smooth | |
484 | b10 = Instance.new("SpecialMesh", p10) | |
485 | b10.MeshType = Enum.MeshType.Sphere | |
486 | b10.Name = "Mesh" | |
487 | p11 = Instance.new("Part", m2) | |
488 | p11.BrickColor = BrickColor.new("Institutional white") | |
489 | p11.Material = Enum.Material.Neon | |
490 | p11.Name = "ChangeColor2" | |
491 | p11.FormFactor = Enum.FormFactor.Custom | |
492 | p11.Size = Vector3.new(0.400000036, 1.19999981, 1) | |
493 | p11.CFrame = CFrame.new(-0.683839977, 1.100003, -15.0161276, 1.3895326e-006, -6.48199716e-007, 0.999999166, 5.66243557e-007, -0.999996305, 6.33298498e-007, 0.999998689, -8.34463606e-007, 1.4491369e-006) | |
494 | p11.CanCollide = false | |
495 | b11 = Instance.new("CylinderMesh", p11) | |
496 | b11.Name = "Mesh" | |
497 | b11.Scale = Vector3.new(2, 1, 1) | |
498 | p12 = Instance.new("Part", m2) | |
499 | p12.BrickColor = BrickColor.new("Really black") | |
500 | p12.FormFactor = Enum.FormFactor.Custom | |
501 | p12.Size = Vector3.new(0.400000036, 0.200000003, 0.200000003) | |
502 | p12.CFrame = CFrame.new(-0.683830023, 2.10087895, -15.0254364, -0.000486697129, -7.13852432e-006, 0.999998868, 0.0266838577, -0.999639928, 7.20503476e-006, 0.999642491, 0.0266825818, 0.00048978941) | |
503 | b12 = Instance.new("CylinderMesh", p12) | |
504 | b12.Name = "Mesh" | |
505 | b12.Scale = Vector3.new(2, 1, 1) | |
506 | p13 = Instance.new("Part", m2) | |
507 | p13.BrickColor = BrickColor.new("Really black") | |
508 | p13.FormFactor = Enum.FormFactor.Custom | |
509 | p13.Size = Vector3.new(0.799999356, 0.799999356, 0.799999356) | |
510 | p13.CFrame = CFrame.new(-0.683435977, 0.499675006, -15.0163736, -6.74276521e-007, -1.59814874e-006, 0.999998927, -0.999996066, -5.96045879e-007, 6.44474198e-007, -7.74858904e-007, -0.999998748, 1.56834574e-006) | |
511 | p13.BottomSurface = Enum.SurfaceType.Smooth | |
512 | p13.TopSurface = Enum.SurfaceType.Smooth | |
513 | b13 = Instance.new("SpecialMesh", p13) | |
514 | b13.MeshType = Enum.MeshType.Sphere | |
515 | b13.Name = "Mesh" | |
516 | m2.Parent = char | |
517 | m2:MakeJoints() | |
518 | ||
519 | local prev | |
520 | local parts = char.Fueltank:GetChildren() | |
521 | ||
522 | for i = 1,#parts do | |
523 | 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 | |
524 | if (prev ~= nil)then | |
525 | local weld = Instance.new("Weld") | |
526 | weld.Part0 = prev | |
527 | weld.Part1 = parts[i] | |
528 | weld.C0 = prev.CFrame:inverse() | |
529 | weld.C1 = parts[i].CFrame:inverse() | |
530 | weld.Parent = prev | |
531 | end | |
532 | prev = parts[i] | |
533 | end | |
534 | end | |
535 | ||
536 | local prev | |
537 | local parts = char.Flamethrower:GetChildren() | |
538 | ||
539 | for i = 1,#parts do | |
540 | 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 | |
541 | if (prev ~= nil)then | |
542 | local weld = Instance.new("Weld") | |
543 | weld.Part0 = prev | |
544 | weld.Part1 = parts[i] | |
545 | weld.C0 = prev.CFrame:inverse() | |
546 | weld.C1 = parts[i].CFrame:inverse() | |
547 | weld.Parent = prev | |
548 | end | |
549 | prev = parts[i] | |
550 | end | |
551 | end | |
552 | ||
553 | char.Fueltank.FuelCenter.CFrame = CFrame.new(char.Torso.Position) | |
554 | ||
555 | local arms = nil | |
556 | local torso = nil | |
557 | local welds = {} | |
558 | ||
559 | arms = {char:FindFirstChild("Left Arm"), char:FindFirstChild("Right Arm")} | |
560 | torso = char:FindFirstChild("Torso") | |
561 | if arms ~= nil and torso ~= nil then | |
562 | local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")} | |
563 | if sh ~= nil then | |
564 | local yes = true | |
565 | if yes then | |
566 | yes = false | |
567 | sh[1].Part1 = nil | |
568 | sh[2].Part1 = nil | |
569 | local weld1 = Instance.new("Weld") | |
570 | weld1.Part0 = torso | |
571 | weld1.Parent = torso | |
572 | weld1.Part1 = arms[1] | |
573 | weld1.C1 = CFrame.new(-0.249, 1.35, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90)) | |
574 | welds[1] = weld1 | |
575 | local weld2 = Instance.new("Weld") | |
576 | weld2.Part0 = torso | |
577 | weld2.Parent = torso | |
578 | weld2.Part1 = arms[2] | |
579 | weld2.C1 = CFrame.new(-1, -0.2, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0) | |
580 | welds[2] = weld2 | |
581 | end | |
582 | end | |
583 | end | |
584 | ||
585 | char.Flamethrower.Handle.CFrame = CFrame.new(char["Left Arm"].Position) | |
586 | ||
587 | local SWeld = Instance.new("Weld",char.Fueltank.FuelCenter) | |
588 | SWeld.Name = "SWeld" | |
589 | SWeld.Part0 = char.Fueltank.FuelCenter | |
590 | SWeld.Part1 = char.Torso | |
591 | SWeld.C0 = CFrame.new(1.35,0,0)*CFrame.fromEulerAnglesXYZ(0,-7.9,59.68) | |
592 | ||
593 | local SWeld2 = Instance.new("Weld",char.Flamethrower.Handle) | |
594 | SWeld2.Name = "SWeld2" | |
595 | SWeld2.Part0 = char.Flamethrower.Handle | |
596 | SWeld2.Part1 = char["Left Arm"] | |
597 | SWeld2.C0 = CFrame.new(-.70,0,-1)*CFrame.Angles(5,7.8,0) | |
598 | ||
599 | local auto = 0 | |
600 | ||
601 | ||
602 | local s1=Instance.new("Sound") | |
603 | s1.SoundId="http://www.roblox.com/asset/?id=260131404" | |
604 | s1.PlayOnRemove=false | |
605 | s1.Volume=100 | |
606 | s1.Looped=false | |
607 | s1.Pitch = 1 | |
608 | s1.Parent=char.Flamethrower.Handle | |
609 | ||
610 | local s2=Instance.new("Sound") | |
611 | s2.SoundId="http://www.roblox.com/asset/?id=260131485" | |
612 | s2.PlayOnRemove=false | |
613 | s2.Volume=100 | |
614 | s2.Looped=true | |
615 | s2.Pitch = 1 | |
616 | s2.Parent=char.Flamethrower.Handle | |
617 | ||
618 | local s3=Instance.new("Sound") | |
619 | s3.SoundId="http://www.roblox.com/asset/?id=260131519" | |
620 | s3.PlayOnRemove=false | |
621 | s3.Volume=100 | |
622 | s3.Looped=false | |
623 | s3.Pitch = 1 | |
624 | s3.Parent=char.Flamethrower.Handle | |
625 | ||
626 | mouse.Button1Down:connect(function() | |
627 | if auto == 0 then | |
628 | s1:Stop() | |
629 | s2:Stop() | |
630 | end | |
631 | if auto == 1 then | |
632 | s1:Play() | |
633 | s1:Stop() | |
634 | s2:Play() | |
635 | end | |
636 | end) | |
637 | ||
638 | mouse.Button1Up:connect(function() | |
639 | if auto == 0 then | |
640 | s1:Stop() | |
641 | s2:Stop() | |
642 | s3:Play() | |
643 | if auto == 1 then | |
644 | s1:Stop() | |
645 | s2:Stop() | |
646 | s3:Stop() | |
647 | end | |
648 | end | |
649 | end) | |
650 | ||
651 | local burning = false | |
652 | local burning2 = false | |
653 | ||
654 | mouse.Button1Down:connect(function() | |
655 | SWeld2.C0 = CFrame.new(-.70,0,-.80)*CFrame.Angles(5,7.8,0) | |
656 | char.Fueltank.ChangeColor.BrickColor = BrickColor.New("Really red") | |
657 | char.Fueltank.ChangeColor2.BrickColor = BrickColor.New("Really red") | |
658 | char.Fueltank.FuelCenter.BrickColor = BrickColor.New("Really red") | |
659 | end) | |
660 | ||
661 | mouse.Button1Down:connect(function() | |
662 | auto = 1 | |
663 | while auto == 1 do | |
664 | wait(.20) | |
665 | local smoke = Instance.new("Smoke",char.Flamethrower.Barrel) | |
666 | game.Debris:AddItem(smoke,1) | |
667 | local bullet = Instance.new("Part",workspace) | |
668 | game.Debris:AddItem(bullet,.90) | |
669 | bullet.Size = Vector3.new(2,2,2) | |
670 | bullet.Shape = "Ball" | |
671 | bullet.Transparency = 1 | |
672 | bullet.CanCollide = false | |
673 | bullet.Name = "bullet" | |
674 | bullet.CFrame = char.Flamethrower.Barrel.CFrame*CFrame.new(0,3,0) | |
675 | local fire = Instance.new("Fire",bullet) | |
676 | local light = Instance.new("PointLight", bullet) | |
677 | light.Range = 5 | |
678 | light.Brightness = 20 | |
679 | light.Color = Color3.new(255, 85, 0) | |
680 | local bvelocity = Instance.new("BodyVelocity",bullet) | |
681 | bvelocity.maxForce = Vector3.new(math.huge,math.huge,850) | |
682 | bvelocity.velocity = mouse.Hit.lookVector*47 | |
683 | bullet.Touched:connect(function(hit) | |
684 | if hit.Parent:FindFirstChild("Humanoid") then | |
685 | local fire1 = Instance.new("Fire",hit.Parent.Torso) | |
686 | game.Debris:AddItem(fire1,3) | |
687 | hit.Parent.Humanoid:TakeDamage(math.random(0.52,0.65)) | |
688 | wait(.30) | |
689 | hit.Parent.Humanoid:TakeDamage(math.random(0.53,0.66)) | |
690 | wait(.30) | |
691 | hit.Parent.Humanoid:TakeDamage(math.random(0.54,0.67)) | |
692 | elseif hit.Parent:FindFirstChild("Humanoid") == nil and not hit.Name:lower():find("base") and not hit.Name:lower():find("Base") and not hit.Name:lower():find("Baseplate") then | |
693 | local fire2 = Instance.new("Fire",hit) | |
694 | wait(3) | |
695 | hit.Transparency = .25 | |
696 | wait(1) | |
697 | hit.Transparency = .50 | |
698 | hit.BrickColor = BrickColor.new("Really black") | |
699 | wait(2) | |
700 | hit.Transparency = .75 | |
701 | wait(1) | |
702 | hit.Transparency = 1 | |
703 | fire2:Destroy() | |
704 | wait(.01) | |
705 | hit:Destroy() | |
706 | end | |
707 | if hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Torso:FindFirstChild("Fire") then | |
708 | burning = true | |
709 | if burning == true then | |
710 | while burning do | |
711 | wait(.80) | |
712 | hit.Parent.Humanoid:TakeDamage(.44) | |
713 | if hit.Parent.Torso:FindFirstChild("Fire")==nil then | |
714 | burning = false | |
715 | end | |
716 | end | |
717 | end | |
718 | end | |
719 | end) | |
720 | end | |
721 | end) | |
722 | ||
723 | mouse.Button1Up:connect(function() | |
724 | SWeld2.C0 = CFrame.new(-.70,0,-1)*CFrame.Angles(5,7.8,0) | |
725 | auto = 0 | |
726 | char.Fueltank.ChangeColor.BrickColor = BrickColor.New("Institutional white") | |
727 | char.Fueltank.ChangeColor2.BrickColor = BrickColor.New("Institutional white") | |
728 | char.Fueltank.FuelCenter.BrickColor = BrickColor.New("Institutional white") | |
729 | if char.Flamethrower.Barrel:FindFirstChild("Smoke") then | |
730 | char.Flamethrower.Barrel.Smoke:Remove() | |
731 | end | |
732 | end) |