View difference between Paste ID: fmNdqEQA and eVJRtQGN
SHOW: | | - or go back to the newest paste.
1
--https://github.com/Mokiros/roblox-FE-compatibility
2
if game:GetService("RunService"):IsClient() then error("Your fucking script is assholic use h/ dumbass") end
3
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
4
local RealPlayer = Player
5
do print("BURN THEM THOTS")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
6
local player=game:GetService("Players").LocalPlayer
7
local char=player.Character
8
local mouse=player:GetMouse()
9
10
local m = Instance.new("Model")
11
m.Name = "Flamethrower"
12
p1 = Instance.new("Part", m)
13
p1.BrickColor = BrickColor.new("Really black")
14
p1.FormFactor = Enum.FormFactor.Custom
15
p1.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
16
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)
17
p1.CanCollide = false
18
b1 = Instance.new("CylinderMesh", p1)
19
b1.Name = "Mesh"
20
b1.Scale = Vector3.new(0.699999988, 1, 1.39999998)
21
p2 = Instance.new("Part", m)
22
p2.BrickColor = BrickColor.new("Really black")
23
p2.FormFactor = Enum.FormFactor.Custom
24
p2.Size = Vector3.new(0.200000003, 0.799999952, 0.200000003)
25
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)
26
p2.CanCollide = false
27
b2 = Instance.new("CylinderMesh", p2)
28
b2.Name = "Mesh"
29
b2.Scale = Vector3.new(0.899999976, 1, 1.5)
30
p3 = Instance.new("Part", m)
31
p3.BrickColor = BrickColor.new("Black")
32
p3.Material = Enum.Material.Grass
33
p3.Name = "Handle2"
34
p3.FormFactor = Enum.FormFactor.Custom
35
p3.Size = Vector3.new(0.200000003, 0.400000006, 0.200000003)
36
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)
37
p3.CanCollide = false
38
b3 = Instance.new("CylinderMesh", p3)
39
b3.Name = "Mesh"
40
b3.Scale = Vector3.new(0.699999988, 1, 1.39999998)
41
p4 = Instance.new("Part", m)
42
p4.BrickColor = BrickColor.new("Really black")
43
p4.FormFactor = Enum.FormFactor.Custom
44
p4.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
45
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)
46
p4.CanCollide = false
47
b4 = Instance.new("CylinderMesh", p4)
48
b4.Name = "Mesh"
49
b4.Scale = Vector3.new(1.20000005, 0.5, 1.78999996)
50
p5 = Instance.new("Part", m)
51
p5.BrickColor = BrickColor.new("Really black")
52
p5.FormFactor = Enum.FormFactor.Custom
53
p5.Size = Vector3.new(0.200000003, 1.79999995, 0.200000003)
54
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)
55
p5.CanCollide = false
56
b5 = Instance.new("CylinderMesh", p5)
57
b5.Name = "Mesh"
58
b5.Scale = Vector3.new(1, 1, 1.70000005)
59
p6 = Instance.new("Part", m)
60
p6.BrickColor = BrickColor.new("Really black")
61
p6.Size = Vector3.new(1, 1.20000005, 1)
62
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)
63
p6.BottomSurface = Enum.SurfaceType.Smooth
64
p6.TopSurface = Enum.SurfaceType.Smooth
65
b6 = Instance.new("SpecialMesh", p6)
66
b6.MeshType = Enum.MeshType.Brick
67
b6.Name = "Mesh"
68
b6.Scale = Vector3.new(0.461538464, 0.769230723, 0.461538464)
69
b7 = Instance.new("CylinderMesh", p6)
70
b7.Name = "Mesh"
71
b7.Scale = Vector3.new(1, 0.899999976, 0.439999998)
72
d1 = Instance.new("Decal", p6)
73
d1.Texture = "http://www.roblox.com/asset/?id=85448092"
74
d1.Face = Enum.NormalId.Top
75
p7 = Instance.new("Part", m)
76
p7.BrickColor = BrickColor.new("Institutional white")
77
p7.Size = Vector3.new(1, 1.20000005, 1)
78
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)
79
p7.BottomSurface = Enum.SurfaceType.Smooth
80
p7.TopSurface = Enum.SurfaceType.Smooth
81
b8 = Instance.new("SpecialMesh", p7)
82
b8.MeshType = Enum.MeshType.Brick
83
b8.Name = "Mesh"
84
b8.Scale = Vector3.new(0.15384616, 1, 0.307692319)
85
b9 = Instance.new("CylinderMesh", p7)
86
b9.Name = "Mesh"
87
b9.Scale = Vector3.new(1.70000005, 1.10000002, 0.300000012)
88
p8 = Instance.new("Part", m)
89
p8.BrickColor = BrickColor.new("Really black")
90
p8.Name = "Barrel"
91
p8.Size = Vector3.new(1, 1.20000005, 1)
92
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)
93
p8.BottomSurface = Enum.SurfaceType.Smooth
94
p8.TopSurface = Enum.SurfaceType.Smooth
95
b10 = Instance.new("SpecialMesh", p8)
96
b10.MeshId = "http://www.roblox.com/asset/?id=1091603"
97
b10.TextureId = ""
98
b10.MeshType = Enum.MeshType.FileMesh
99
b10.Name = "Mesh"
100
b10.Scale = Vector3.new(0.300000012, 0.300000012, 0.300000012)
101
p9 = Instance.new("Part", m)
102
p9.BrickColor = BrickColor.new("Really black")
103
p9.FormFactor = Enum.FormFactor.Custom
104
p9.Size = Vector3.new(0.288717359, 0.288717419, 0.288717419)
105
p9.CFrame = CFrame.new(-4.12095404, 1.04495895, 29.1705666, 1, 0, 0, 0, 1, 0, 0, 0, 1)
106
p9.BottomSurface = Enum.SurfaceType.Smooth
107
p9.TopSurface = Enum.SurfaceType.Smooth
108
b11 = Instance.new("SpecialMesh", p9)
109
b11.MeshType = Enum.MeshType.Brick
110
b11.Name = "Mesh"
111
b11.Scale = Vector3.new(1.37011397, 0.164413691, 1.50712562)
112
p10 = Instance.new("Part", m)
113
p10.BrickColor = BrickColor.new("Institutional white")
114
p10.Size = Vector3.new(1, 1.20000005, 1)
115
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)
116
p10.BottomSurface = Enum.SurfaceType.Smooth
117
p10.TopSurface = Enum.SurfaceType.Smooth
118
b12 = Instance.new("SpecialMesh", p10)
119
b12.MeshType = Enum.MeshType.Brick
120
b12.Name = "Mesh"
121
b12.Scale = Vector3.new(0.15384616, 0.153846145, 1)
122
p11 = Instance.new("Part", m)
123
p11.BrickColor = BrickColor.new("Institutional white")
124
p11.Name = "Handle"
125
p11.Size = Vector3.new(1, 1.20000005, 1)
126
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)
127
p11.BottomSurface = Enum.SurfaceType.Smooth
128
p11.TopSurface = Enum.SurfaceType.Smooth
129
b13 = Instance.new("SpecialMesh", p11)
130
b13.MeshType = Enum.MeshType.Brick
131
b13.Name = "Mesh"
132
b13.Scale = Vector3.new(0.15384616, 0.538461506, 0.307692319)
133
p12 = Instance.new("Part", m)
134
p12.BrickColor = BrickColor.new("Really black")
135
p12.FormFactor = Enum.FormFactor.Custom
136
p12.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958)
137
p12.CFrame = CFrame.new(-4.08139706, 0.981667995, 29.0914536, 1, 0, 0, 0, 1, 0, 0, 0, 1)
138
p12.BottomSurface = Enum.SurfaceType.Smooth
139
p12.TopSurface = Enum.SurfaceType.Smooth
140
b14 = Instance.new("SpecialMesh", p12)
141
b14.MeshType = Enum.MeshType.Brick
142
b14.Name = "Mesh"
143
b14.Scale = Vector3.new(0.351311207, 0.351311326, 0.175655678)
144
p13 = Instance.new("Part", m)
145
p13.BrickColor = BrickColor.new("Really black")
146
p13.FormFactor = Enum.FormFactor.Custom
147
p13.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958)
148
p13.CFrame = CFrame.new(-4.08139706, 0.882772982, 29.1310101, -1, 0, 0, 0, 1, 0, 0, 0, -1)
149
p13.BottomSurface = Enum.SurfaceType.Smooth
150
p13.TopSurface = Enum.SurfaceType.Smooth
151
b15 = Instance.new("SpecialMesh", p13)
152
b15.MeshType = Enum.MeshType.Wedge
153
b15.Name = "Mesh"
154
b15.Scale = Vector3.new(0.351311207, 0.175655663, 0.175655678)
155
p14 = Instance.new("Part", m)
156
p14.BrickColor = BrickColor.new("Really black")
157
p14.FormFactor = Enum.FormFactor.Custom
158
p14.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958)
159
p14.CFrame = CFrame.new(-4.08139706, 0.882772982, 29.2496853, 1, 0, 0, 0, 1, 0, 0, 0, 1)
160
p14.BottomSurface = Enum.SurfaceType.Smooth
161
p14.TopSurface = Enum.SurfaceType.Smooth
162
b16 = Instance.new("SpecialMesh", p14)
163
b16.MeshType = Enum.MeshType.Wedge
164
b16.Name = "Mesh"
165
b16.Scale = Vector3.new(0.351311207, 0.175655663, 0.175655678)
166
p15 = Instance.new("Part", m)
167
p15.BrickColor = BrickColor.new("Really black")
168
p15.FormFactor = Enum.FormFactor.Custom
169
p15.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958)
170
p15.CFrame = CFrame.new(-4.08139706, 0.922330976, 29.0914536, 1, 0, 0, 0, 1, 0, 0, 0, 1)
171
p15.BottomSurface = Enum.SurfaceType.Smooth
172
p15.TopSurface = Enum.SurfaceType.Smooth
173
b17 = Instance.new("SpecialMesh", p15)
174
b17.MeshType = Enum.MeshType.Brick
175
b17.Name = "Mesh"
176
b17.Scale = Vector3.new(0.351311207, 0.175655663, 0.175655678)
177
p16 = Instance.new("Part", m)
178
p16.BrickColor = BrickColor.new("Really black")
179
p16.FormFactor = Enum.FormFactor.Custom
180
p16.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958)
181
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)
182
p16.BottomSurface = Enum.SurfaceType.Smooth
183
p16.TopSurface = Enum.SurfaceType.Smooth
184
b18 = Instance.new("SpecialMesh", p16)
185
b18.MeshType = Enum.MeshType.Wedge
186
b18.Name = "Mesh"
187
b18.Scale = Vector3.new(1.75655627, 1.68629432, 0.175655678)
188
p17 = Instance.new("Part", m)
189
p17.BrickColor = BrickColor.new("Really black")
190
p17.FormFactor = Enum.FormFactor.Custom
191
p17.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958)
192
p17.CFrame = CFrame.new(-4.12095404, 0.878817022, 28.9727783, 1, 0, 0, 0, 1, 0, 0, 0, 1)
193
p17.BottomSurface = Enum.SurfaceType.Smooth
194
p17.TopSurface = Enum.SurfaceType.Smooth
195
b19 = Instance.new("SpecialMesh", p17)
196
b19.MeshType = Enum.MeshType.Brick
197
b19.Name = "Mesh"
198
b19.Scale = Vector3.new(1.75655627, 1.2647208, 0.175655678)
199
p18 = Instance.new("Part", m)
200
p18.BrickColor = BrickColor.new("Really black")
201
p18.FormFactor = Enum.FormFactor.Custom
202
p18.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958)
203
p18.CFrame = CFrame.new(-4.08139706, 0.882772982, 29.0914536, 1, 0, 0, 0, 1, 0, 0, 0, 1)
204
p18.BottomSurface = Enum.SurfaceType.Smooth
205
p18.TopSurface = Enum.SurfaceType.Smooth
206
b20 = Instance.new("SpecialMesh", p18)
207
b20.MeshType = Enum.MeshType.Brick
208
b20.Name = "Mesh"
209
b20.Scale = Vector3.new(0.351311207, 0.175655663, 0.175655678)
210
p19 = Instance.new("Part", m)
211
p19.BrickColor = BrickColor.new("Really black")
212
p19.FormFactor = Enum.FormFactor.Custom
213
p19.Size = Vector3.new(0.799999356, 0.200000003, 0.399999857)
214
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)
215
p19.CanCollide = false
216
b21 = Instance.new("BlockMesh", p19)
217
b21.Name = "Mesh"
218
b21.Scale = Vector3.new(1, 1, 0.699999988)
219
p20 = Instance.new("Part", m)
220
p20.BrickColor = BrickColor.new("Really black")
221
p20.FormFactor = Enum.FormFactor.Custom
222
p20.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958)
223
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)
224
p20.BottomSurface = Enum.SurfaceType.Smooth
225
p20.TopSurface = Enum.SurfaceType.Smooth
226
b22 = Instance.new("SpecialMesh", p20)
227
b22.MeshType = Enum.MeshType.Wedge
228
b22.Name = "Mesh"
229
b22.Scale = Vector3.new(1.75655627, 0.702622652, 0.175655678)
230
p21 = Instance.new("Part", m)
231
p21.BrickColor = BrickColor.new("Really black")
232
p21.FormFactor = Enum.FormFactor.Custom
233
p21.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958)
234
p21.CFrame = CFrame.new(-4.12095404, 0.700815022, 29.3090191, -1, -0, -0, -0, -0, -1, -0, -1, -0)
235
p21.BottomSurface = Enum.SurfaceType.Smooth
236
p21.TopSurface = Enum.SurfaceType.Smooth
237
b23 = Instance.new("SpecialMesh", p21)
238
b23.MeshType = Enum.MeshType.Wedge
239
b23.Name = "Mesh"
240
b23.Scale = Vector3.new(1.75655627, 0.702622652, 0.175655678)
241
p22 = Instance.new("Part", m)
242
p22.BrickColor = BrickColor.new("Really black")
243
p22.FormFactor = Enum.FormFactor.Custom
244
p22.Size = Vector3.new(0.799999356, 0.200000003, 0.200000003)
245
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)
246
p22.CanCollide = false
247
b24 = Instance.new("BlockMesh", p22)
248
b24.Name = "Mesh"
249
b24.Scale = Vector3.new(1, 0.300000012, 0.899999976)
250
p23 = Instance.new("Part", m)
251
p23.BrickColor = BrickColor.new("Really black")
252
p23.FormFactor = Enum.FormFactor.Custom
253
p23.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958)
254
p23.CFrame = CFrame.new(-4.08139706, 0.843216002, 29.1705666, 1, 0, 0, 0, 1, 0, 0, 0, 1)
255
p23.BottomSurface = Enum.SurfaceType.Smooth
256
p23.TopSurface = Enum.SurfaceType.Smooth
257
b25 = Instance.new("SpecialMesh", p23)
258
b25.MeshType = Enum.MeshType.Brick
259
b25.Name = "Mesh"
260
b25.Scale = Vector3.new(0.351311207, 0.175655663, 0.878278494)
261
p24 = Instance.new("Part", m)
262
p24.BrickColor = BrickColor.new("Really black")
263
p24.FormFactor = Enum.FormFactor.Custom
264
p24.Size = Vector3.new(0.474551886, 0.474551976, 0.474551976)
265
p24.CFrame = CFrame.new(-4.14073181, 0.728498995, 28.9727783, 1, 0, 0, 0, 1, 0, 0, 0, 1)
266
p24.BottomSurface = Enum.SurfaceType.Smooth
267
p24.TopSurface = Enum.SurfaceType.Smooth
268
b26 = Instance.new("SpecialMesh", p24)
269
b26.MeshType = Enum.MeshType.Brick
270
b26.Name = "Mesh"
271
b26.Scale = Vector3.new(0.750219524, 0.0333430953, 0.0833577439)
272
p25 = Instance.new("Part", m)
273
p25.BrickColor = BrickColor.new("Really black")
274
p25.FormFactor = Enum.FormFactor.Custom
275
p25.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958)
276
p25.CFrame = CFrame.new(-4.12095404, 0.661257982, 29.1705666, 1, 0, 0, 0, 1, 0, 0, 0, 1)
277
p25.BottomSurface = Enum.SurfaceType.Smooth
278
p25.TopSurface = Enum.SurfaceType.Smooth
279
b27 = Instance.new("SpecialMesh", p25)
280
b27.MeshType = Enum.MeshType.Brick
281
b27.Name = "Mesh"
282
b27.Scale = Vector3.new(1.75655627, 0.175655663, 1.93221235)
283
p26 = Instance.new("Part", m)
284
p26.BrickColor = BrickColor.new("Really black")
285
p26.FormFactor = Enum.FormFactor.Custom
286
p26.Size = Vector3.new(0.474551886, 0.474551976, 0.474551976)
287
p26.CFrame = CFrame.new(-4.12095404, 0.601921976, 29.1705666, 1, -0, 0, 0, -0, 1, 0, -1, 0)
288
p26.BottomSurface = Enum.SurfaceType.Smooth
289
p26.TopSurface = Enum.SurfaceType.Smooth
290
b28 = Instance.new("SpecialMesh", p26)
291
b28.MeshType = Enum.MeshType.Wedge
292
b28.Name = "Mesh"
293
b28.Scale = Vector3.new(0.833577335, 0.916935086, 0.166715518)
294
p27 = Instance.new("Part", m)
295
p27.BrickColor = BrickColor.new("Dark stone grey")
296
p27.Transparency = 1
297
p27.Name = "Handle3"
298
p27.FormFactor = Enum.FormFactor.Custom
299
p27.Size = Vector3.new(1, 1.4000001, 0.200000033)
300
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)
301
p27.BottomSurface = Enum.SurfaceType.Smooth
302
p27.TopSurface = Enum.SurfaceType.Smooth
303
b29 = Instance.new("SpecialMesh", p27)
304
b29.MeshType = Enum.MeshType.Wedge
305
b29.Name = "Mesh"
306
b29.Scale = Vector3.new(0.25, 0.25, 0.200000003)
307
m.Parent = char
308
m:MakeJoints()
309
310
311
local m2 = Instance.new("Model")
312
m2.Name = "Fueltank"
313
p1 = Instance.new("Part", m2)
314
p1.BrickColor = BrickColor.new("Black")
315
p1.FormFactor = Enum.FormFactor.Custom
316
p1.Size = Vector3.new(0.400000036, 0.200000003, 0.200000003)
317
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)
318
b1 = Instance.new("CylinderMesh", p1)
319
b1.Name = "Mesh"
320
b1.Scale = Vector3.new(2, 1.5, 1)
321
p2 = Instance.new("Part", m2)
322
p2.BrickColor = BrickColor.new("Institutional white")
323
p2.Material = Enum.Material.Neon
324
p2.Name = "ChangeColor"
325
p2.FormFactor = Enum.FormFactor.Custom
326
p2.Size = Vector3.new(0.400000036, 1.19999981, 1)
327
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)
328
p2.CanCollide = false
329
b2 = Instance.new("CylinderMesh", p2)
330
b2.Name = "Mesh"
331
b2.Scale = Vector3.new(2, 1, 1)
332
p3 = Instance.new("Part", m2)
333
p3.BrickColor = BrickColor.new("Mid gray")
334
p3.Material = Enum.Material.Neon
335
p3.Name = "FuelCenter"
336
p3.FormFactor = Enum.FormFactor.Custom
337
p3.Size = Vector3.new(0.400000036, 0.799999833, 1)
338
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)
339
b3 = Instance.new("CylinderMesh", p3)
340
b3.Name = "Mesh"
341
b3.Scale = Vector3.new(1.39999998, 1, 1)
342
p4 = Instance.new("Part", m2)
343
p4.BrickColor = BrickColor.new("Really black")
344
p4.FormFactor = Enum.FormFactor.Custom
345
p4.Size = Vector3.new(0.799999356, 0.799999356, 0.799999356)
346
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)
347
p4.BottomSurface = Enum.SurfaceType.Smooth
348
p4.TopSurface = Enum.SurfaceType.Smooth
349
b4 = Instance.new("SpecialMesh", p4)
350
b4.MeshType = Enum.MeshType.Sphere
351
b4.Name = "Mesh"
352
p5 = Instance.new("Part", m2)
353
p5.BrickColor = BrickColor.new("Really black")
354
p5.FormFactor = Enum.FormFactor.Custom
355
p5.Size = Vector3.new(0.799999356, 0.799999356, 0.799999356)
356
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)
357
p5.BottomSurface = Enum.SurfaceType.Smooth
358
p5.TopSurface = Enum.SurfaceType.Smooth
359
b5 = Instance.new("SpecialMesh", p5)
360
b5.MeshType = Enum.MeshType.Sphere
361
b5.Name = "Mesh"
362
b5.Scale = Vector3.new(0.709999979, 0.709999979, 0.709999979)
363
p6 = Instance.new("Part", m2)
364
p6.BrickColor = BrickColor.new("Really black")
365
p6.FormFactor = Enum.FormFactor.Custom
366
p6.Size = Vector3.new(0.400000036, 0.200000003, 0.200000003)
367
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)
368
b6 = Instance.new("CylinderMesh", p6)
369
b6.Name = "Mesh"
370
b6.Scale = Vector3.new(2, 1, 1)
371
p7 = Instance.new("Part", m2)
372
p7.BrickColor = BrickColor.new("Really black")
373
p7.FormFactor = Enum.FormFactor.Custom
374
p7.Size = Vector3.new(0.799999356, 0.799999356, 0.799999356)
375
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)
376
p7.BottomSurface = Enum.SurfaceType.Smooth
377
p7.TopSurface = Enum.SurfaceType.Smooth
378
b7 = Instance.new("SpecialMesh", p7)
379
b7.MeshType = Enum.MeshType.Sphere
380
b7.Name = "Mesh"
381
p8 = Instance.new("Part", m2)
382
p8.BrickColor = BrickColor.new("Really black")
383
p8.FormFactor = Enum.FormFactor.Custom
384
p8.Size = Vector3.new(0.799999356, 0.799999356, 0.799999356)
385
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)
386
p8.BottomSurface = Enum.SurfaceType.Smooth
387
p8.TopSurface = Enum.SurfaceType.Smooth
388
b8 = Instance.new("SpecialMesh", p8)
389
b8.MeshType = Enum.MeshType.Sphere
390
b8.Name = "Mesh"
391
b8.Scale = Vector3.new(0.709999979, 0.709999979, 0.709999979)
392
p9 = Instance.new("Part", m2)
393
p9.BrickColor = BrickColor.new("Really black")
394
p9.FormFactor = Enum.FormFactor.Custom
395
p9.Size = Vector3.new(0.400000036, 0.200000003, 0.200000003)
396
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)
397
b9 = Instance.new("CylinderMesh", p9)
398
b9.Name = "Mesh"
399
b9.Scale = Vector3.new(2, 1.5, 1)
400
p10 = Instance.new("Part", m2)
401
p10.BrickColor = BrickColor.new("Really black")
402
p10.FormFactor = Enum.FormFactor.Custom
403
p10.Size = Vector3.new(0.799999356, 0.799999356, 0.799999356)
404
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)
405
p10.BottomSurface = Enum.SurfaceType.Smooth
406
p10.TopSurface = Enum.SurfaceType.Smooth
407
b10 = Instance.new("SpecialMesh", p10)
408
b10.MeshType = Enum.MeshType.Sphere
409
b10.Name = "Mesh"
410
p11 = Instance.new("Part", m2)
411
p11.BrickColor = BrickColor.new("Institutional white")
412
p11.Material = Enum.Material.Neon
413
p11.Name = "ChangeColor2"
414
p11.FormFactor = Enum.FormFactor.Custom
415
p11.Size = Vector3.new(0.400000036, 1.19999981, 1)
416
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)
417
p11.CanCollide = false
418
b11 = Instance.new("CylinderMesh", p11)
419
b11.Name = "Mesh"
420
b11.Scale = Vector3.new(2, 1, 1)
421
p12 = Instance.new("Part", m2)
422
p12.BrickColor = BrickColor.new("Really black")
423
p12.FormFactor = Enum.FormFactor.Custom
424
p12.Size = Vector3.new(0.400000036, 0.200000003, 0.200000003)
425
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)
426
b12 = Instance.new("CylinderMesh", p12)
427
b12.Name = "Mesh"
428
b12.Scale = Vector3.new(2, 1, 1)
429
p13 = Instance.new("Part", m2)
430
p13.BrickColor = BrickColor.new("Really black")
431
p13.FormFactor = Enum.FormFactor.Custom
432
p13.Size = Vector3.new(0.799999356, 0.799999356, 0.799999356)
433
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)
434
p13.BottomSurface = Enum.SurfaceType.Smooth
435
p13.TopSurface = Enum.SurfaceType.Smooth
436
b13 = Instance.new("SpecialMesh", p13)
437
b13.MeshType = Enum.MeshType.Sphere
438
b13.Name = "Mesh"
439
m2.Parent = char
440
m2:MakeJoints()
441
442
local prev
443
local parts = char.Fueltank:GetChildren()
444
445
for i = 1,#parts do 
446
	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 
447
		if (prev ~= nil)then 
448
			local weld = Instance.new("Weld") 
449
			weld.Part0 = prev 
450
			weld.Part1 = parts[i] 
451
			weld.C0 = prev.CFrame:inverse() 
452
			weld.C1 = parts[i].CFrame:inverse() 
453
			weld.Parent = prev 
454
		end 
455
		prev = parts[i] 
456
	end 
457
end
458
459
local prev
460
local parts = char.Flamethrower:GetChildren()
461
462
for i = 1,#parts do 
463
	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 
464
		if (prev ~= nil)then 
465
			local weld = Instance.new("Weld") 
466
			weld.Part0 = prev 
467
			weld.Part1 = parts[i] 
468
			weld.C0 = prev.CFrame:inverse() 
469
			weld.C1 = parts[i].CFrame:inverse() 
470
			weld.Parent = prev 
471
		end 
472
		prev = parts[i] 
473
	end 
474
end
475
476
char.Fueltank.FuelCenter.CFrame = CFrame.new(char.Torso.Position)
477
478
local arms = nil
479
local torso = nil
480
local welds = {}
481
482
arms = {char:FindFirstChild("Left Arm"), char:FindFirstChild("Right Arm")}
483
torso = char:FindFirstChild("Torso")
484
if arms ~= nil and torso ~= nil then
485
local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")}
486
if sh ~= nil then
487
local yes = true
488
if yes then
489
yes = false
490
sh[1].Part1 = nil
491
sh[2].Part1 = nil
492
local weld1 = Instance.new("Weld")
493
weld1.Part0 = torso
494
weld1.Parent = torso
495
weld1.Part1 = arms[1]
496
weld1.C1 = CFrame.new(-0.249, 1.35, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90))
497
welds[1] = weld1
498
local weld2 = Instance.new("Weld")
499
weld2.Part0 = torso
500
weld2.Parent = torso
501
weld2.Part1 = arms[2]
502
weld2.C1 = CFrame.new(-1, -0.2, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)
503
welds[2] = weld2
504
end
505
end
506
end
507
508
char.Flamethrower.Handle.CFrame = CFrame.new(char["Left Arm"].Position)
509
510
local SWeld = Instance.new("Weld",char.Fueltank.FuelCenter)
511
SWeld.Name = "SWeld"
512
SWeld.Part0 = char.Fueltank.FuelCenter
513
SWeld.Part1 = char.Torso
514
SWeld.C0 = CFrame.new(1.35,0,0)*CFrame.fromEulerAnglesXYZ(0,-7.9,59.68)
515
516
local SWeld2 = Instance.new("Weld",char.Flamethrower.Handle)
517
SWeld2.Name = "SWeld2"
518
SWeld2.Part0 = char.Flamethrower.Handle
519
SWeld2.Part1 = char["Left Arm"]
520
SWeld2.C0 = CFrame.new(-.70,0,-1)*CFrame.Angles(5,7.8,0)
521
522
local auto = 0
523
524
525
local s1=Instance.new("Sound")
526
s1.SoundId="http://www.roblox.com/asset/?id=260131404"
527
s1.PlayOnRemove=false
528
s1.Volume=100
529
s1.Looped=false
530
s1.Pitch = 1
531
s1.Parent=char.Flamethrower.Handle
532
533
local s2=Instance.new("Sound")
534
s2.SoundId="http://www.roblox.com/asset/?id=260131485"
535
s2.PlayOnRemove=false
536
s2.Volume=100
537
s2.Looped=true
538
s2.Pitch = 1
539
s2.Parent=char.Flamethrower.Handle
540
541
local s3=Instance.new("Sound")
542
s3.SoundId="http://www.roblox.com/asset/?id=260131519"
543
s3.PlayOnRemove=false
544
s3.Volume=100
545
s3.Looped=false
546
s3.Pitch = 1
547
s3.Parent=char.Flamethrower.Handle
548
549
mouse.Button1Down:connect(function()
550
	if auto == 0 then
551
		s1:Stop()
552
		s2:Stop()
553
	end
554
	if auto == 1 then
555
		s1:Play()
556
		s1:Stop()
557
		s2:Play()
558
	end
559
end)
560
561
mouse.Button1Up:connect(function()
562
	if auto == 0 then
563
		s1:Stop()
564
		s2:Stop()
565
		s3:Play()
566
		if auto == 1 then
567
			s1:Stop()
568
			s2:Stop()
569
			s3:Stop()
570
		end
571
	end
572
end)
573
574
local burning = false
575
local burning2 = false
576
577
mouse.Button1Down:connect(function()
578
	SWeld2.C0 = CFrame.new(-.70,0,-.80)*CFrame.Angles(5,7.8,0)
579
char.Fueltank.ChangeColor.BrickColor = BrickColor.New("Really red")
580
	char.Fueltank.ChangeColor2.BrickColor = BrickColor.New("Really red")
581
	char.Fueltank.FuelCenter.BrickColor = BrickColor.New("Really red")
582
end)
583
584
mouse.Button1Down:connect(function()
585
	auto = 1
586
	while auto == 1 do
587
		wait(.20)
588
	local smoke = Instance.new("Smoke",char.Flamethrower.Barrel)
589
	game.Debris:AddItem(smoke,1)
590
local bullet = Instance.new("Part",workspace)
591
game.Debris:AddItem(bullet,.90)
592
bullet.Size = Vector3.new(2,2,2)
593
bullet.Shape = "Ball"
594
bullet.Transparency = 1
595
bullet.CanCollide = false
596
bullet.Name = "bullet"
597
bullet.CFrame = char.Flamethrower.Barrel.CFrame*CFrame.new(0,3,0)
598
local fire = Instance.new("Fire",bullet)
599
local light = Instance.new("PointLight", bullet)
600
light.Range = 5
601
light.Brightness = 20
602
light.Color = Color3.new(255, 85, 0)
603
local bvelocity = Instance.new("BodyVelocity",bullet)
604
bvelocity.maxForce = Vector3.new(math.huge,math.huge,850)
605
bvelocity.velocity = mouse.Hit.lookVector*47
606
bullet.Touched:connect(function(hit)
607
if hit.Parent:FindFirstChild("Humanoid") then
608
local fire1 = Instance.new("Fire",hit.Parent.Torso)
609
game.Debris:AddItem(fire1,3)
610
hit.Parent.Humanoid:TakeDamage(math.random(0.52,0.65))
611
wait(.30)
612
hit.Parent.Humanoid:TakeDamage(math.random(0.53,0.66))
613
wait(.30)
614
hit.Parent.Humanoid:TakeDamage(math.random(0.54,0.67))
615
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
616
	local fire2 = Instance.new("Fire",hit)
617
	wait(3)
618
	hit.Transparency = .25
619
	wait(1)
620
	hit.Transparency = .50
621
	hit.BrickColor = BrickColor.new("Really black")
622
	wait(2)
623
	hit.Transparency = .75
624
	wait(1)
625
	hit.Transparency = 1
626
	fire2:Destroy()
627
	wait(.01)
628
	hit:Destroy()
629
	end
630
if hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Torso:FindFirstChild("Fire") then
631
	burning = true
632
if burning == true then
633
	while burning do
634
	wait(.80)
635
	hit.Parent.Humanoid:TakeDamage(.44)
636
if hit.Parent.Torso:FindFirstChild("Fire")==nil then
637
	burning = false
638
end
639
end
640
end
641
	end
642
end)
643
	end
644
end)
645
646
mouse.Button1Up:connect(function()
647
	SWeld2.C0 = CFrame.new(-.70,0,-1)*CFrame.Angles(5,7.8,0)
648
	auto = 0
649
	char.Fueltank.ChangeColor.BrickColor = BrickColor.New("Institutional white")
650
	char.Fueltank.ChangeColor2.BrickColor = BrickColor.New("Institutional white")
651
	char.Fueltank.FuelCenter.BrickColor = BrickColor.New("Institutional white")
652
	if char.Flamethrower.Barrel:FindFirstChild("Smoke") then
653
		char.Flamethrower.Barrel.Smoke:Remove()
654
	end
655
end)