--Bomb Spammer Script
tool = Instance.new("Tool")
tool.RequiresHandle = false
tool.Name = "SmokeBomb Spammer"
tool.TextureId = "rbxassetid://149185730"
tool.Activated:connect(function()
wait();
local l__LocalPlayer__1 = game.Players.LocalPlayer;
while l__LocalPlayer__1.Character == nil do
wait();
end;
local l__Character__2 = l__LocalPlayer__1.Character;
while l__Character__2:FindFirstChild("Humanoid") == nil do
wait();
end;
while l__Character__2:FindFirstChild("HumanoidRootPart") == nil do
wait();
end;
enabled = true;
local function u1()
local v3 = Instance.new("Part");
v3.Name = "Cloud";
v3.Material = "SmoothPlastic";
v3.BrickColor = BrickColor.new("Light stone grey");
v3.CanCollide = false;
v3.Shape = "Ball";
v3.Size = Vector3.new(1, 1, 1);
v3.TopSurface = "Smooth";
v3.BottomSurface = "Smooth";
local v4 = Instance.new("Sound");
v4.Name = "WooshSound";
v4.SoundId = "http://www.roblox.com/asset/?id=28166510";
v4.Pitch = math.random(8, 12) / 10;
v4.Parent = v3;
local v5 = Instance.new("Sound");
v5.Name = "HitSound";
v5.Volume = 1;
v5.SoundId = "http://www.roblox.com/asset/?id=93042083";
v5.Parent = v3;
local v6 = Instance.new("BodyForce");
v6.Name = "AntiGrav";
v6.force = Vector3.new(0, v3:GetMass() * 196.2 * 0.8, 0);
v6.Parent = v3;
return v3;
end;
local l__Torso__2 = l__Character__2:FindFirstChild("Torso");
local l__Humanoid__3 = l__Character__2:FindFirstChild("Humanoid");
local function u4(p1)
local v7 = u1();
if (p1 - l__Torso__2.Position).magnitude < 9 then
v7.CFrame = CFrame.new(p1 + Vector3.new(0, 1.5, 0));
v7.Velocity = Vector3.new(0, -5, 0);
else
v7.CFrame = CFrame.new(l__Torso__2.CFrame * Vector3.new(0, 1, -1));
v7.CFrame = CFrame.new(v7.Position, p1) * CFrame.new(0, 0, 1);
v7.Velocity = v7.CFrame.lookVector * 75;
end;
local v8 = Instance.new("ObjectValue");
v8.Name = "creator";
v8.Value = l__LocalPlayer__1;
v8.Parent = v7;
v7.Parent = game.Workspace._Projectiles;
coroutine.resume(coroutine.create(function()
if v7:FindFirstChild("WooshSound") then
v7:FindFirstChild("WooshSound"):Play();
end;
local u5 = false;
local function u6()
if v7:FindFirstChild("HitSound") then
v7:FindFirstChild("HitSound"):Play();
end;
v7.Anchored = true;
v7.BrickColor = BrickColor.new("White");
v7.CFrame = CFrame.new(v7.Position + Vector3.new(0, 3.5, 0));
local v9 = Instance.new("SpecialMesh");
v9.MeshId = "http://www.roblox.com/asset/?id=111820358";
v9.Scale = Vector3.new(45, 45, 33.75);
v9.Parent = v7;
game.ReplicatedStorage.RemoteTriggers.CreateFlash:FireServer(v7.Position, 21);
game.Debris:AddItem(v7, 6);
for v10 = 1, 100 do
if v7 ~= nil then
v7.Transparency = v10 / 150 + 0.5;
v9.Scale = v9.Scale + Vector3.new(0.32, 0.32, 0.24);
wait(0.05);
end;
end;
wait();
v7:Destroy();
end;
v7.Touched:connect(function(p2)
if p2 == nil then
return;
end;
if p2.Parent == nil then
return;
end;
if u5 then
return;
end;
local v11 = nil;
if p2.Parent:FindFirstChild("Humanoid") then
v11 = p2.Parent:FindFirstChild("Humanoid");
end;
if p2.Parent:IsA("Hat") and p2.Parent.Parent:FindFirstChild("Humanoid") then
v11 = p2.Parent.Parent:FindFirstChild("Humanoid");
end;
if v11 ~= nil then
if v8.Value == nil then
return;
end;
if v8.Value.Character == nil then
return;
end;
if v11.Parent == v8.Value.Character then
return;
end;
else
if p2.CanCollide == true then
u5 = true;
u6();
end;
return;
end;
u5 = true;
u6();
end);
wait(5);
if not u5 then
v7:Destroy();
end;
end));
end;
tool.Equipped:connect(function(p3)
p3.Icon = "rbxasset://textures\\GunCursor.png";
p3.Button1Down:connect(function()
if not enabled or l__Humanoid__3.Health <= 0 then
return;
end;
enabled = false;
p3.Icon = "rbxasset://textures\\GunWaitCursor.png";
u4(p3.Hit.p);
Wait(0.000001);
enabled = true;
p3.Icon = "rbxasset://textures\\GunCursor.png";
end);
end);
end)
tool.Parent = game.Players.LocalPlayer.Backpack