View difference between Paste ID: 7KYJMuR0 and V2J1UNCU
SHOW: | | - or go back to the newest paste.
1
--Windows95/FR34KY @V3rm
2
local player=game.Players.LocalPlayer;
3
local char=game.Players.LocalPlayer.Character;
4
local humanoid = player.Character.Humanoid;
5
Tool=Instance.new('Tool', game.Players.LocalPlayer.Backpack);
6
Tool.GripForward=Vector3.new(-0.161, 0, -0.987);
7
Tool.GripPos=Vector3.new(0.1, 0, 0.1);
8
Tool.GripRight=Vector3.new(0.217, 0, -0.976);
9
Tool.GripUp=Vector3.new(0, 1, 0);
10
Tool.Name='Smoke Grenade'
11
Handle=Instance.new('Part', Tool);
12
Handle.Name = 'Handle';
13
Handle.Size=Vector3.new(1, 1.2, 1);
14
c4mesh=Instance.new('SpecialMesh', Handle);
15
c4mesh.MeshType = 'FileMesh';
16-
c4mesh.MeshId='http://www.roblox.com/asset/?id=16975131';
16+
c4mesh.MeshId='http://www.roblox.com/asset/?id=1827757903';
17-
c4mesh.TextureId='http://www.roblox.com/asset/?id=16975111';
17+
c4mesh.TextureId='http://www.roblox.com/asset/?id=1827757925';
18
c4mesh.Scale=Vector3.new(0.75, 0.75, 0.75);
19
light=Instance.new('PointLight', Handle);
20
light.Color = Color3.new(255,0,0)
21
light.Range=10;
22
light.Enabled=false;
23
beep=Instance.new('Sound',Handle)
24
beep.Volume=5;
25-
beep.SoundId='rbxassetid://252141949'
25+
beep.SoundId='rbxassetid://912540712'
26
access=Instance.new('Sound',Handle)
27
access.Volume=5;
28-
access.SoundId='rbxassetid://131644923'
28+
access.SoundId='rbxassetid://912540712'
29
beeptone=Instance.new('Sound',Handle)
30
beeptone.Volume=5;
31
beeptone.SoundId='rbxassetid://75338648'
32
local Prepare=Instance.new("Animation");
33
Prepare.AnimationId="http://www.roblox.com/Asset?ID=75322014";
34
local Launch=Instance.new("Animation");
35
Launch.AnimationId="http://www.roblox.com/Asset?ID=94157627";
36
function onActivated()
37
	if not Tool.Enabled  then
38
		return
39
	end
40
	Tool.Enabled=false;
41
local LaunchAnim = humanoid:LoadAnimation(Launch);
42
LaunchAnim:Play();
43
wait(0.4)
44
45
	local p = Handle:Clone();
46
	local dir = char.Head.CFrame.lookVector;
47
	p.Velocity = (dir * 80) + Vector3.new(0,8,0);
48
	p.CanCollide = true;
49
	p.Parent = game.Workspace;
50
	p.Name='c4';
51
	beep.Parent=p;
52
	light.Parent=p;
53
	Handle.Transparency=1;
54
55
wait(0.2)
56
smokee=Instance.new('ParticleEmitter', p)
57
smokee.Size = NumberSequence.new(31)
58
smokee.Speed = NumberRange.new(10)
59
smokee.RotSpeed = NumberRange.new(-255, 250)
60-
smokee.Texture = 'http://www.roblox.com/asset/?id=241539438'
60+
smokee.Texture = 'http://www.roblox.com/asset/?id=288392896'
61
smokee.LightEmission = 1
62
ex=Instance.new('Explosion',workspace);
63-
ex.BlastPressure=6;
63+
ex.BlastPressure=5;
64-
ex.BlastRadius=6;
64+
ex.BlastRadius=5;
65
ex.Position=p.Position;
66
smokee.VelocitySpread = 30
67
smokee.Rate = 500
68
smokee.Enabled=true;
69
ss=Instance.new('Sound',p);
70
ss.Volume=5;
71-
ss.SoundId='rbxassetid://424618966';
71+
ss.SoundId='rbxassetid://912540712';
72
ss:Play();
73
Handle.Transparency=1;
74
wait(16)
75
p:remove();
76
Handle.Transparency=0
77
Tool.Enabled=true;
78
79
80
81
end
82
Tool.Activated:connect(onActivated);