View difference between Paste ID: HJi2RN5s and TgiDmb2S
SHOW: | | - or go back to the newest paste.
1-
--Enjoy little skids :)
1+
2-
Instance.new("Shirt",c).ShirtTemplate="rbxassetid://278316781"
2+
3-
Instance.new("Pants",c).PantsTemplate="rbxassetid://187135174"
3+
4-
dot = false
4+
5-
des = false
5+
6-
local ChatService = game:GetService("Chat")
6+
7-
local player = game.Players.LocalPlayer
7+
8-
char = player.Character
8+
9-
hum = char.Humanoid
9+
10-
torso = hum.Torso
10+
11-
lig = Instance.new("PointLight",player.Character.Torso)
11+
12-
lig.Color=Color3.new(0,255,255)
12+
13-
m=player:GetMouse()
13+
14-
bb = Instance.new("BillboardGui",player.Character.Head)
14+
15-
bb.Enabled = true
15+
16-
bb.AlwaysOnTop = true
16+
17-
bb.Size = UDim2.new(0,200,00,50)
17+
18-
bb.StudsOffset = Vector3.new(0,1,0)
18+
19-
gui=Instance.new("TextBox",bb)
19+
20-
gui.Text = "Seth: "
20+
21-
gui.Size = UDim2.new(0,400,0,100)
21+
22-
gui.Position=UDim2.new(0,-95,0,-85)
22+
23-
gui.TextColor3 = Color3.new(255,255,255)
23+
24-
gui.BackgroundColor3=Color3.new(0,0,0) --another
24+
25-
gui.TextWrapped = true
25+
26-
gui.TextScaled = true
26+
27-
gui.FontSize = "Size14"
27+
28-
gui.TextXAlignment = "Left"
28+
29-
gui.TextYAlignment = "Top"
29+
30-
gui.Visible = false
30+
31-
gui.BorderColor3 = Color3.new(255,255,255)
31+
32-
gui.BorderSizePixel = 5
32+
33
Handle.TopSurface = "SmoothNoOutlines"
34-
gui1=Instance.new("TextButton",bb)
34+
35-
gui1.Position=UDim2.new(0,5,0,-43)
35+
36-
gui1.Size = UDim2.new(0,190,0,51)
36+
37-
gui1.Text = ""
37+
38
Handle.LeftSurface = "SmoothNoOutlines"
39-
gui1.TextColor3 = Color3.new(255,255,255)
39+
40-
gui1.BackgroundColor3=Color3.new(0,0,0) --shotCUT
40+
41-
gui1.BackgroundTransparency = 1
41+
42
local HandleWeld = Instance.new("Motor6D")
43-
gui1.Visible = false
43+
44-
img = Instance.new("ImageLabel",bb)
44+
45-
img.Size = UDim2.new(0,0,0,0)
45+
46-
img.Position = UDim2.new(0,10,0,-41)
46+
47-
img.BackgroundTransparency = 1
47+
48-
img.BorderColor3 = Color3.new(0,0,0)
48+
49-
img.Visible = false
49+
50-
asd = Instance.new("Sound",player.Character.Torso)
50+
51-
asd.SoundId = "http://www.roblox.com/asset/?id = 434571966"
51+
52-
asd.Pitch=0.85
52+
53
Part.Size = Vector3.new(0.2,0.2,0.2)
54-
asd1 = Instance.new("Sound",player.Character.Torso)
54+
55-
asd1.SoundId = "http://www.roblox.com/asset/?id = 0"
55+
56
Part.FrontSurface = "SmoothNoOutlines"
57-
asd2 = Instance.new("Sound",player.Character.Torso)
57+
58-
asd2.SoundId = "http://www.roblox.com/asset/?id = 0"
58+
59-
asd2.Looped = true
59+
60-
asd3 = Instance.new("Sound",player.Character.Torso)
60+
61-
asd3.SoundId = "http://www.roblox.com/asset/?id = 154200304"
61+
62-
asd3.Looped = true
62+
63-
asd4 = Instance.new("Sound",player.Character.Torso)
63+
64-
asd4.SoundId = "http://www.roblox.com/asset/?id = 149168123"
64+
65-
asd4.Looped = false
65+
66-
asd5 = Instance.new("Sound",player.Character.Torso)
66+
67-
asd5.SoundId = "http://www.roblox.com/asset/?id = 318625250"
67+
68-
asd5.Looped = true
68+
69-
dunkd = Instance.new("Sound",player.Character.Torso)
69+
70-
dunkd.SoundId = "http://www.roblox.com/asset/?id = 261303790"
70+
71-
dunkd.Pitch=7
71+
72-
dunkd.Looped = false
72+
73-
function play(play)
73+
74-
asd:Play()
74+
75-
asd1:Play()
75+
76
Part.BottomSurface = "SmoothNoOutlines"
77-
eye = Instance.new("Part",player.Character)
77+
78-
eye.BrickColor = BrickColor.new("Toothpaste")
78+
79-
eye.Material = "Neon"
79+
80-
eye.FormFactor = 3
80+
81-
eye.Shape = "Ball"
81+
82-
eye.Size = Vector3.new(0.37,0.37,0.1)
82+
83-
weld = Instance.new("Weld",eye)
83+
84-
weld.Part0 = eye
84+
85-
weld.Part1 = player.Character.Head
85+
86-
weld.C0 = CFrame.new(0.1,-0.2,0.45)
86+
87-
eye.Transparency = 1
87+
88-
-- listen for their chatting
88+
89-
player.Chatted:connect(function(message)
89+
90-
a = string.len(message)
90+
91-
gui.Text = "Seth: "
91+
92-
gui.Visible = true
92+
93-
gui1.Visible = true
93+
94-
des = false
94+
95-
img.Visible = false
95+
96-
print(a)
96+
97-
if dot == false then
97+
98-
for i = 1,string.len(message) do wait(0.07)
98+
99-
gui.Text =gui.Text..message:sub(i,i)
99+
100
Part.RightSurface = "SmoothNoOutlines"
101-
play()
101+
102
Part.BrickColor = BrickColor.new("Black")
103
local Mesh = Instance.new("CylinderMesh",Part)
104
Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * Scale
105-
des = true
105+
106
PartWeld.Part0 = Handle
107-
m.KeyDown:connect(function(k)
107+
108-
if k == "g" then
108+
109-
asd2:Play()
109+
110-
eye.Transparency = 1
110+
111
local Part = Instance.new("Part",Model)
112
Part.CanCollide = false
113
Part.Position = Vector3.new(0,100,0)
114-
m.KeyDown:connect(function(k)
114+
115-
if k == "p" then
115+
116-
eye.Transparency = 1
116+
117-
asd3:Play()
117+
118
Part.BottomSurface = "SmoothNoOutlines"
119
Part.FrontSurface = "SmoothNoOutlines"
120-
m.KeyDown:connect(function(k)
120+
121-
if k == "r" then
121+
122-
eye.Transparency = 1
122+
123-
asd4:Play()
123+
124
local Mesh = Instance.new("CylinderMesh",Part)
125
Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * Scale
126-
m.KeyDown:connect(function(k)
126+
127-
if k == "q" then
127+
128-
eye.Transparency = 1
128+
129-
asd5:Play()
129+
130
PartWeld.Parent = Part
131
132-
m.KeyDown:connect(function(k)
132+
133-
if k == "z" then
133+
134
Part.Position = Vector3.new(0,100,0)
135-
img.Image = "rbxassetid://"
135+
136
Part.FormFactor = "Custom"
137
Part.Size = Vector3.new(0.2,0.2,0.2)
138-
m.KeyDown:connect(function(k)
138+
139-
if k == "c" then
139+
140-
cool = Instance.new("Sound",player.Character.Torso)
140+
141-
cool.SoundId = "http://www.roblox.com/asset/?id = 392201535"
141+
142-
wait()
142+
143-
cool:Play()
143+
144-
human.Health = human.Health - math.random(150,300) --cool short
144+
145
local Mesh = Instance.new("BlockMesh",Part)
146
Mesh.Scale = Vector3.new(0.23,0.2,0.1) / 0.2 * Scale
147-
m.KeyDown:connect(function(k)
147+
148-
if k == "n" then
148+
149-
healy = Instance.new("Sound",player.Character.Torso)
149+
150-
healy.SoundId = "http://www.roblox.com/asset/?id = 435185931"
150+
151-
wait()
151+
152-
healy:Play()
152+
153-
human.Health = human.Health + 300 --cool short
153+
154-
gui.Visible = true
154+
155-
wait()
155+
156-
gui.Text = "* You ate the PopCorn.           * Pop secret!                           * You recovered 300 HP!"
156+
157-
wait(5)
157+
158-
gui.Visible = false
158+
159
Part.TopSurface = "SmoothNoOutlines"
160
Part.BottomSurface = "SmoothNoOutlines"
161-
m.KeyDown:connect(function(k)
161+
162-
if k == "b" then
162+
163-
healy = Instance.new("Sound",player.Character.Torso)
163+
164-
healy.SoundId = "http://www.roblox.com/asset/?id = 435185931"
164+
165-
wait()
165+
166-
healy:Play()
166+
167-
human.Health = human.Health + 600 --cool short
167+
168-
gui.Visible = true
168+
169-
wait()
169+
170-
gui.Text = "* You ate the FaceSteak.         * You like it alot...                     * You recovered 600 HP!"
170+
171-
wait(5)
171+
172-
gui.Visible = false
172+
173
174
local Part = Instance.new("Part",Model)
175-
m.KeyDown:connect(function(k)
175+
176-
if k == "m" then
176+
177-
healy = Instance.new("Sound",player.Character.Torso)
177+
178-
healy.SoundId = "http://www.roblox.com/asset/?id = 435185931"
178+
179-
wait()
179+
180-
healy:Play()
180+
181-
human.Health = 7500 --cool short
181+
182-
gui.Visible = true
182+
183-
wait()
183+
184-
gui.Text = "* You ate the Spaghetti. Slurp!   * Your HP was maxed out."
184+
185-
wait(5)
185+
186-
gui.Visible = false
186+
187
local Mesh = Instance.new("BlockMesh",Part)
188
Mesh.Scale = Vector3.new(0.1,0.2,0.38) / 0.2 * Scale
189-
m.KeyDown:connect(function(k)
189+
190-
if k == "v" then
190+
191-
healy = Instance.new("Sound",player.Character.Torso)
191+
192-
healy.SoundId = "http://www.roblox.com/asset/?id = 435185931"
192+
193-
wait()
193+
194-
healy:Play()
194+
195-
human.Health = human.Health + 750 --cool short
195+
196-
gui.Visible = true
196+
197-
wait()
197+
198-
gui.Text = "* You drank a MrPibb. Ahhh... * You recovered 750 HP!"
198+
199-
wait(5)
199+
200-
gui.Visible = false
200+
201
Part.TopSurface = "SmoothNoOutlines"
202
Part.BottomSurface = "SmoothNoOutlines"
203-
m.KeyDown:connect(function(k)
203+
204-
if k == "h" then
204+
205-
img.Image = "rbxassetid://"
205+
206
Part.LeftSurface = "SmoothNoOutlines"
207
Part.BrickColor = BrickColor.new("Black")
208-
m.KeyDown:connect(function(k)
208+
209-
if k == "j" then
209+
210-
img.Image = "rbxassetid://"
210+
211
PartWeld.Part0 = Handle
212
PartWeld.Part1 = Part
213-
m.KeyDown:connect(function(k)
213+
214-
if k == "l" then
214+
215-
img.Image = "rbxassetid://"
215+
216-
print("You take your very last breath...")
216+
217-
asdd = Instance.new("Sound",player.Character.Torso)
217+
218-
asdd.SoundId = "http://www.roblox.com/asset/?id = 392201535"
218+
219-
asdd.Looped = false
219+
220-
spawn(function()
220+
221-
wait()
221+
222-
asdd:Play()
222+
223-
human.Health = 1
223+
224-
human.Parent["Right Arm"].BrickColor = BrickColor.new("Really red")
224+
225
Part.BackSurface = "SmoothNoOutlines"
226-
wait(0.1)
226+
227-
asddd = Instance.new("Sound",player.Character.Torso)
227+
228-
asddd.SoundId = "http://www.roblox.com/asset/?id = 186311262"
228+
229-
asddd.Looped = false
229+
230-
spawn(function()
230+
231-
wait()
231+
232-
asddd:Play()
232+
233
PartWeld.Part1 = Part
234-
wait(30)
234+
235-
asdded = Instance.new("Sound",player.Character.Torso)
235+
236-
asdded.SoundId = "http://www.roblox.com/asset/?id = 387187707"
236+
237-
asdded.Looped = false
237+
238-
spawn(function()
238+
239-
wait()
239+
240-
asdded:Play()
240+
241
Part.FormFactor = "Custom"
242-
char:BreakJoints()
242+
243
Part.TopSurface = "SmoothNoOutlines"
244-
end) 
244+
245-
m.KeyDown:connect(function(k)
245+
246-
if k == "x" then
246+
247-
if des == true then
247+
248-
gui.Visible = false
248+
249-
gui.Text = "Seth: "
249+
250-
gui1.Visible = false
250+
251-
img.Visible = false
251+
252
local PartWeld = Instance.new("Motor6D")
253
PartWeld.Part0 = Handle
254
PartWeld.Part1 = Part
255-
m.KeyDown:connect(function(k)
255+
256-
if k == "f" then
256+
257-
asd1:Stop()
257+
258-
asd3:Stop()
258+
259-
asd2:Stop()
259+
260-
asd4:Stop()
260+
261-
dunkd:Stop()
261+
262-
eye.Transparency = 1
262+
263-
asd5:Stop()
263+
264
	Part.Size = Vector3.new(0.2,0.2,0.2)
265
	Part.TopSurface = "SmoothNoOutlines"
266-
m.KeyDown:connect(function(k)
266+
267-
if k == "u" then
267+
268-
dunkd = Instance.new("Sound",player.Character.Torso)
268+
269-
dunkd.SoundId = "http://www.roblox.com/asset/?id = 261303790"
269+
270-
dunkd.Pitch=7
270+
271-
dunkd.Looped = false
271+
272-
dunkd:Play()
272+
273-
gui.Text = "SHUT THE FUCK UP YOU CUNT"
273+
274
	local PartWeld = Instance.new("Motor6D")
275
	PartWeld.Part0 = Handle
276-
m.KeyDown:connect(function(k)
276+
277-
if k == "y" then
277+
278-
img.Image = "rbxassetid://"
278+
279
end
280
281-
--------------------------------------------------------------------------
281+
282
Barrel.CanCollide = false
283
Barrel.Position = Vector3.new(0,100,0)
284
Barrel:BreakJoints()
285
Barrel.FormFactor = "Custom"
286
Barrel.Size = Vector3.new(0.2,0.2,0.2)
287
Barrel.TopSurface = "SmoothNoOutlines"
288
Barrel.BottomSurface = "SmoothNoOutlines"
289
Barrel.FrontSurface = "SmoothNoOutlines"
290
Barrel.BackSurface = "SmoothNoOutlines"
291
Barrel.RightSurface = "SmoothNoOutlines"
292
Barrel.LeftSurface = "SmoothNoOutlines"
293
Barrel.BrickColor = BrickColor.new("Black")
294
local Mesh = Instance.new("BlockMesh",Barrel)
295
Mesh.Scale = Vector3.new(0.25,0.2,2) / 0.2 * Scale
296
local BarrelWeld = Instance.new("Motor6D")
297
BarrelWeld.Part0 = Handle
298
BarrelWeld.Part1 = Barrel
299
BarrelWeld.C0 = CFrame.Angles(math.rad(15),0,0) * CFrame.new(Vector3.new(0,0.5,-0.7)*Scale)
300
BarrelWeld.Parent = Barrel
301
302
local Barrel1 = Barrel
303
304
local Barrel2 = Instance.new("Part",Model)
305
Barrel2.CanCollide = false
306
Barrel2.Position = Vector3.new(0,100,0)
307
Barrel2:BreakJoints()
308
Barrel2.FormFactor = "Custom"
309
Barrel2.Size = Vector3.new(0.2,0.2,0.2)
310
Barrel2.TopSurface = "SmoothNoOutlines"
311
Barrel2.BottomSurface = "SmoothNoOutlines"
312
Barrel2.FrontSurface = "SmoothNoOutlines"
313
Barrel2.BackSurface = "SmoothNoOutlines"
314
Barrel2.RightSurface = "SmoothNoOutlines"
315
Barrel2.LeftSurface = "SmoothNoOutlines"
316
Barrel2.BrickColor = BrickColor.new("Really black")
317
local Mesh = Instance.new("BlockMesh",Barrel2)
318
Mesh.Scale = Vector3.new(0.25,0.25,2) / 0.2 * Scale
319
local Barrel2Weld = Instance.new("Motor6D")
320
Barrel2Weld.Part0 = Barrel
321
Barrel2Weld.Part1 = Barrel2
322
Barrel2Weld.C0 = CFrame.new(Vector3.new(0,0.225,0)*Scale)
323
Barrel2Weld.Parent = Barrel2
324
325
local RealBarrel = Instance.new("Part",Model)
326
RealBarrel.CanCollide = false
327
RealBarrel.Position = Vector3.new(0,100,0)
328
RealBarrel:BreakJoints()
329
RealBarrel.FormFactor = "Custom"
330
RealBarrel.Size = Vector3.new(0.2,0.2,0.2)
331
RealBarrel.TopSurface = "SmoothNoOutlines"
332
RealBarrel.BottomSurface = "SmoothNoOutlines"
333
RealBarrel.FrontSurface = "SmoothNoOutlines"
334
RealBarrel.BackSurface = "SmoothNoOutlines"
335
RealBarrel.RightSurface = "SmoothNoOutlines"
336
RealBarrel.LeftSurface = "SmoothNoOutlines"
337
RealBarrel.BrickColor = BrickColor.new("Dark grey metallic")
338
local Mesh = Instance.new("CylinderMesh",RealBarrel)
339
Mesh.Scale = Vector3.new(0.2,2,0.2) / 0.2 * Scale
340
local RealBarrelWeld = Instance.new("Motor6D")
341
RealBarrelWeld.Part0 = Barrel
342
RealBarrelWeld.Part1 = RealBarrel
343
RealBarrelWeld.C0 = CFrame.new(Vector3.new(0,0.1,-0.01)*Scale) * CFrame.Angles(math.rad(-90),0,0)
344
RealBarrelWeld.Parent = RealBarrel
345
346
for i = 1,75,15 do
347
	local Part = Instance.new("Part",Model)
348
	Part.CanCollide = false
349
	Part.Position = Vector3.new(0,100,0)
350
	Part:BreakJoints()
351
	Part.FormFactor = "Custom"
352
	Part.Size = Vector3.new(0.2,0.2,0.2)
353
	Part.TopSurface = "SmoothNoOutlines"
354
	Part.BottomSurface = "SmoothNoOutlines"
355
	Part.FrontSurface = "SmoothNoOutlines"
356
	Part.BackSurface = "SmoothNoOutlines"
357
	Part.RightSurface = "SmoothNoOutlines"
358
	Part.LeftSurface = "SmoothNoOutlines"
359
	Part.BrickColor = BrickColor.new("Black")
360
	local Mesh = Instance.new("BlockMesh",Part)
361
	Mesh.Scale = Vector3.new(0.05,0.065,0.05) / 0.2 * Scale
362
	local PartWeld = Instance.new("Motor6D")
363
	PartWeld.Part0 = Handle
364
	PartWeld.Part1 = Part
365
	PartWeld.C0 = CFrame.new(Vector3.new(0,0.525,-0.515)*Scale) * CFrame.Angles(math.rad(i),0,0) * CFrame.new(Vector3.new(0,0,0.2)*Scale)
366
	PartWeld.Parent = Part
367
end
368
369
local Part = Instance.new("Part",Model)
370
Part.CanCollide = false
371
Part.Position = Vector3.new(0,100,0)
372
Part:BreakJoints()
373
Part.FormFactor = "Custom"
374
Part.Size = Vector3.new(0.2,0.2,0.2)
375
Part.TopSurface = "SmoothNoOutlines"
376
Part.BottomSurface = "SmoothNoOutlines"
377
Part.FrontSurface = "SmoothNoOutlines"
378
Part.BackSurface = "SmoothNoOutlines"
379
Part.RightSurface = "SmoothNoOutlines"
380
Part.LeftSurface = "SmoothNoOutlines"
381
Part.BrickColor = BrickColor.new("Really black")
382
local Mesh = Instance.new("BlockMesh",Part)
383
Mesh.Scale = Vector3.new(0.05,0.11,0.1) / 0.2 * Scale
384
local PartWeld = Instance.new("Motor6D")
385
PartWeld.Part0 = Barrel2
386
PartWeld.Part1 = Part
387
PartWeld.C0 = CFrame.new(Vector3.new(0.06,0.135,0.925)*Scale)
388
PartWeld.Parent = Part
389
390
local Part = Instance.new("Part",Model)
391
Part.CanCollide = false
392
Part.Position = Vector3.new(0,100,0)
393
Part:BreakJoints()
394
Part.FormFactor = "Custom"
395
Part.Size = Vector3.new(0.2,0.2,0.2)
396
Part.TopSurface = "SmoothNoOutlines"
397
Part.BottomSurface = "SmoothNoOutlines"
398
Part.FrontSurface = "SmoothNoOutlines"
399
Part.BackSurface = "SmoothNoOutlines"
400
Part.RightSurface = "SmoothNoOutlines"
401
Part.LeftSurface = "SmoothNoOutlines"
402
Part.BrickColor = BrickColor.new("Really black")
403
local Mesh = Instance.new("BlockMesh",Part)
404
Mesh.Scale = Vector3.new(0.05,0.11,0.1) / 0.2 * Scale
405
local PartWeld = Instance.new("Motor6D")
406
PartWeld.Part0 = Barrel2
407
PartWeld.Part1 = Part
408
PartWeld.C0 = CFrame.new(Vector3.new(-0.06,0.135,0.925)*Scale)
409
PartWeld.Parent = Part
410
411
local Part = Instance.new("Part",Model)
412
Part.CanCollide = false
413
Part.Position = Vector3.new(0,100,0)
414
Part:BreakJoints()
415
Part.FormFactor = "Custom"
416
Part.Size = Vector3.new(0.2,0.2,0.2)
417
Part.TopSurface = "SmoothNoOutlines"
418
Part.BottomSurface = "SmoothNoOutlines"
419
Part.FrontSurface = "SmoothNoOutlines"
420
Part.BackSurface = "SmoothNoOutlines"
421
Part.RightSurface = "SmoothNoOutlines"
422
Part.LeftSurface = "SmoothNoOutlines"
423
Part.BrickColor = BrickColor.new("Really black")
424
local Mesh = Instance.new("BlockMesh",Part)
425
Mesh.Scale = Vector3.new(0.025,0.1,0.1) / 0.2 * Scale
426
local PartWeld = Instance.new("Motor6D")
427
PartWeld.Part0 = Barrel2
428
PartWeld.Part1 = Part
429
PartWeld.C0 = CFrame.new(Vector3.new(0,0.135,-0.925)*Scale)
430
PartWeld.Parent = Part
431
432
local Part = Instance.new("Part",Model)
433
Part.CanCollide = false
434
Part.Position = Vector3.new(0,100,0)
435
Part:BreakJoints()
436
Part.FormFactor = "Custom"
437
Part.Size = Vector3.new(0.2,0.2,0.2)
438
Part.Transparency = 1
439
Part.TopSurface = "SmoothNoOutlines"
440
Part.BottomSurface = "SmoothNoOutlines"
441
Part.FrontSurface = "SmoothNoOutlines"
442
Part.BackSurface = "SmoothNoOutlines"
443
Part.RightSurface = "SmoothNoOutlines"
444
Part.LeftSurface = "SmoothNoOutlines"
445
Part.BrickColor = BrickColor.new("Really black")
446
local Mesh = Instance.new("BlockMesh",Part)
447
Mesh.Scale = Vector3.new(0.1,0.1,0.1) / 0.2 * Scale
448
local PartWeld = Instance.new("Motor6D")
449
PartWeld.Part0 = Barrel
450
PartWeld.Part1 = Part
451
PartWeld.C0 = CFrame.new(Vector3.new(0,0,-5)*Scale)
452
PartWeld.Parent = Part
453
454
local Light = Instance.new("PointLight",Part)
455
Light.Color = BrickColor.new("Gold").Color
456
Light.Enabled = true
457
Light.Shadows = true
458
Light.Brightness = 0
459
Light.Range = 6
460
461
local Part = Instance.new("Part",Model)
462
Part.Material = "Neon"
463
Part.CanCollide = false
464
Part.Position = Vector3.new(0,100,0)
465
Part:BreakJoints()
466
Part.FormFactor = "Custom"
467
Part.Size = Vector3.new(0.2,0.2,0.2)
468
Part.TopSurface = "SmoothNoOutlines"
469
Part.BottomSurface = "SmoothNoOutlines"
470
Part.FrontSurface = "SmoothNoOutlines"
471
Part.BackSurface = "SmoothNoOutlines"
472
Part.RightSurface = "SmoothNoOutlines"
473
Part.LeftSurface = "SmoothNoOutlines"
474
Part.BrickColor = BrickColor.new("Bright yellow")
475
Part.Transparency = 0.25
476
local RecoilMesh = Instance.new("SpecialMesh",Part)
477
RecoilMesh.MeshType = "FileMesh"
478
RecoilMesh.MeshId = "http://www.roblox.com/Asset/?id=1323306"
479
RecoilMesh.TextureId = "http://www.roblox.com/Asset/?id=98896228"
480
RecoilMesh.Scale = Vector3.new(0.175,0,0.175) * Scale
481
local PartWeld = Instance.new("Motor6D")
482
PartWeld.Part0 = RealBarrel
483
PartWeld.Part1 = Part
484
PartWeld.C0 = CFrame.new(Vector3.new(0,0.95,0)*Scale)
485
PartWeld.Parent = Part
486
487
function ShootBullet(Target,barrel)
488
	local barrel = barrel or Barrel
489
	local Bullet = Instance.new("Part",Workspace)
490
	Barrel.CanCollide = false
491
	Bullet.FormFactor = "Custom"
492
	Bullet.Size = Vector3.new(0.2,0.2,5)*Scale
493
	Bullet.TopSurface = "Smooth"
494
	Bullet.BottomSurface = "Smooth"
495
	Bullet.Anchored = true
496
	Bullet.CanCollide = false
497
	Bullet.CFrame = CFrame.new((barrel.CFrame*CFrame.new(0,0,-barrel.Size.Z*barrel.Mesh.Scale.Z/2)).p,Target)*CFrame.new(0,0,-Bullet.Size.Z/2)
498
	Bullet.Transparency = 0.1
499
	Bullet.BrickColor = BrickColor.new("Gold")
500
	--[[local Mesh = Instance.new("SpecialMesh",Bullet)
501
	Mesh.MeshType = "FileMesh"
502
	Mesh.Scale = Vector3.new(0.5,0.5,0.2)
503
	Mesh.MeshId = "http://www.roblox.com/asset/?id=2697549"
504
	--Mesh.TextureId = "http://www.roblox.com/asset/?id=2697544"]]
505
	local Mesh = Instance.new("BlockMesh",Bullet)
506
	Mesh.Scale = Vector3.new(0.2,0.2,5)*Scale/Bullet.Size
507
	IgnoreList[#IgnoreList+1] = Bullet
508
	RenderStepped:wait()
509
	for i = Speed,1000,Speed do -- Loop to do the bullet movement and stuff.
510
		local ray,Hit,Pos,SurfaceNormal;
511
		ray = Ray.new(Bullet.Position,((Bullet.CFrame*CFrame.Angles(math.rad(-Gravity),0,0)*CFrame.new(0,0,-Speed)).p-Bullet.Position).unit*Speed)
512
		Hit,Pos,SurfaceNormal = Workspace:FindPartOnRayWithIgnoreList(ray,IgnoreList)
513
		Bullet.CFrame = Bullet.CFrame*CFrame.Angles(math.rad(-Gravity),0,0)*CFrame.new(0,0,-Speed)
514
		if Hit ~= nil then
515
			local Hum = Hit.Parent:FindFirstChild("Humanoid") or Hit.Parent.Parent:FindFirstChild("Humanoid") or (Hit.Parent.Parent.Parent ~= nil and Hit.Parent.Parent.Parent:FindFirstChild("Humanoid"))
516
			if Hum ~= nil then
517
				Hum:TakeDamage((((Gangster and math.random(99999,99999) or math.random(99999,99999))*Scale)/100)*Hum.MaxHealth)
518
			end
519
			break
520
		end
521
		RenderStepped:wait()
522
	end
523
	Bullet:Destroy()
524
end
525
526
Mouse.Button1Down:connect(function()
527
	if not Down and not DB then
528
		Down = true
529
		while Down do
530
			if Humanoid.Health == 0 then break end
531
			if not DB then
532
				DB = true
533
				local Sound = Instance.new("Sound",Barrel)
534
				Sound.SoundId = "http://www.roblox.com/Asset/?id=282716906" -- 132373574
535
				Sound.Volume = 5*Scale
536
				Sound.Pitch = (math.random(70,110)/100)/((Scale < 0.25 and 0.25) or (Scale > 4 and 4) or Scale)
537
				Sound:Play()
538
				Spawn(function()
539
					ShootBullet(Mouse.Hit.p,Barrel1)
540
				end)
541
				RecoilMesh.VertexColor = Vector3.new(1,math.random(160,245)/255,20/255)
542
				PartWeld.C0 = PartWeld.C0 * CFrame.Angles(0,math.rad(math.random(-40,40)),0)
543
				local Shell = Instance.new("Part",Workspace)
544
				Shell.FormFactor = "Custom"
545
				Shell.BrickColor = BrickColor.new("Bright yellow")
546
				Shell.Size = Vector3.new(0.2,0.5,0.2)*Scale
547
				Shell.CFrame = Barrel.CFrame*CFrame.new(0.5,0.5,0)*CFrame.Angles(math.rad(-90),0,0)
548
				Shell.Velocity = ((Barrel.CFrame*CFrame.new(5,0,math.random(-2,2))).p-Barrel.CFrame.p)*5*Scale
549
				local Mesh = Instance.new("CylinderMesh",Shell)
550
				Mesh.Scale = Vector3.new(0.2,0.5,0.2)*Scale/Shell.Size
551
				Spawn(function()
552
					wait(5)
553
					Shell:Destroy()
554
				end)
555
				for i = 1,20,7.5 do
556
					RotationOffset = RotationOffset*CFrame.Angles(math.rad(7.5),0,0)
557
					Part1Joint = Part1Joint*CFrame.new(Vector3.new(0,-0.15,0)*Scale)
558
					Barrel2Weld.C0 = Barrel2Weld.C0*CFrame.new(Vector3.new(0,0,0.15)*Scale)
559
					Light.Brightness = Light.Brightness+38
560
					RecoilMesh.Scale = RecoilMesh.Scale+(Vector3.new(0,0.375,0)*Scale)
561
					RenderStepped:wait()
562
				end
563
				wait(0.02)
564
				for i = 1,20,3.75 do
565
					RotationOffset = RotationOffset*CFrame.Angles(math.rad(-3.75),0,0)
566
					Part1Joint = Part1Joint*CFrame.new(Vector3.new(0,0.075,0)*Scale)
567
					Barrel2Weld.C0 = Barrel2Weld.C0*CFrame.new(Vector3.new(0,0,-0.075)*Scale)
568
					Light.Brightness = Light.Brightness-19
569
					RecoilMesh.Scale = RecoilMesh.Scale+(Vector3.new(0,-0.1875,0)*Scale)
570
					RenderStepped:wait()
571
				end
572
				wait(0.02)
573
				DB = false
574
			end
575
		end
576
	end
577
end)
578
579
Mouse.Button1Up:connect(function()
580
	Down = false
581
end)
582
583
Mouse.KeyDown:connect(function(Key)
584
	if Key:lower() == "g" and not DB then
585
		DB = true
586
		if Gangster == true then
587
			for i = 1,70,5 do
588
				RotationOffset = RotationOffset*CFrame.Angles(0,math.rad(-5),0)
589
				RenderStepped:wait()
590
			end
591
			Gangster = false
592
		else
593
			for i = 1,70,5 do
594
				RotationOffset = RotationOffset*CFrame.Angles(0,math.rad(5),0)
595
				RenderStepped:wait()
596
			end
597
			Gangster = true
598
		end
599
		DB = false
600
	end
601
end)
602
603
local Weld = Instance.new("Weld")
604
Weld.Part0 = Torso
605
Weld.Part1 = Character["Right Arm"]
606
Weld.Parent = Torso
607
608
local Weld2 = Instance.new("Weld")
609
Weld2.Part0 = Torso
610
Weld2.Part1 = Character.Head
611
Weld2.Parent = Torso
612
613
local RA = Character["Right Arm"]
614
615
game:GetService("RunService"):BindToRenderStep("Pistol",Enum.RenderPriority.Character.Value,function()
616
	local Point = Torso.CFrame:vectorToObjectSpace(Mouse.Hit.p-Torso.CFrame.p)
617
	if Point.Z > 0 then
618
		if Point.X > 0 then
619
			Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(Mouse.Hit.X,Torso.Position.Y,Mouse.Hit.Z))*CFrame.Angles(0,math.rad(90),0)
620
		elseif Point.X < 0 then
621
			Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(Mouse.Hit.X,Torso.Position.Y,Mouse.Hit.Z))*CFrame.Angles(0,math.rad(-90),0)
622
		end
623
	end
624
625
	local CFr = (Torso.CFrame*Part0Joint):toObjectSpace(CFrame.new((Torso.CFrame*Part0Joint).p,Mouse.Hit.p))--RayEnd))
626
	Weld.C0 = Part0Joint * (CFr-CFr.p) * RotationOffset
627
	Weld.C1 = Part1Joint
628
	Weld.Part0 = Torso
629
	Weld.Part1 = RA
630
	local CFr = (Torso.CFrame*Part0JointHead):toObjectSpace(CFrame.new((Torso.CFrame*Part0JointHead).p,Mouse.Hit.p))--RayEnd))
631
	Weld2.C0 = Part0JointHead * (CFr-CFr.p) * RotationOffsetHead
632
	Weld2.C1 = Part1JointHead
633
	Weld2.Part0 = Torso
634
	Weld2.Part1 = Character.Head
635
	local Last = Scale
636
	Scale = game.Players.LocalPlayer.Character.Torso.Size.X/2*(game.Players.LocalPlayer.Character.Torso:FindFirstChild("ScaleInserted") ~= nil and game.Players.LocalPlayer.Character.Torso:FindFirstChild("ScaleInserted").Scale.Z or 1)*0.8
637
	Speed = 20*Scale
638
	if Scale ~= Last then
639
		Part0Joint = CFrame.new(Vector3.new(1,0.75,0)*Scale*1.25)
640
		Part1Joint = CFrame.new(Vector3.new(-0.5,0.75,0)*Scale*1.25)
641
		Part0JointHead = CFrame.new(Vector3.new(0,1,0)*Scale*1.25)
642
		Part1JointHead = CFrame.new(Vector3.new(0,-0.5,0)*Scale*1.25)
643
	end
644
end)