here is the script

game.Workspace.hypebombfired.OnServerEvent:Connect(function(play, suse)
	local char = play.Character or play.CharacterAdded:wait()
local uis = game:GetService("UserInputService")
local suse = false
local hithum = false
		local rom = game.ReplicatedStorage.BOMBsec:Clone()
		rom.Parent = game.Workspace		
		rom.CFrame = play.Character.LeftLowerLeg.CFrame*CFrame.new(0,0,4)
		suse = true
		
		wait(1)
for i = 1,3 do
	wait(.2)
rom.BrickColor = BrickColor.new("Persimmon")
rom.Material = Enum.Material.Neon
wait(.2)
rom.BrickColor = BrickColor.new("Black")
rom.Material = Enum.Material.Plastic
end
rom.Touched:Connect(function(hit)
			if hit and hit.Parent:FindFirstChild("Humanoid") and hithum == false then
				hithum = true
				hit.Parent.Humanoid:TakeDamage(17)
			end
		end)
wait(.01)
rom.BrickColor = BrickColor.new("Persimmon")
rom.Material = Enum.Material.Neon
for i = 1,10 do
	wait()
	rom.Size = rom.Size + Vector3.new(4,4,4)
	end
wait(.2)
for i = 1,12 do
	wait()
	rom.Transparency = rom.Transparency + .2
end
wait(.1)
rom:Remove()
wait(1)
suse = false
--suse = true
--wait(4)
--suse = false
end)

when the bomb is spawned it ONLY damages me and NOT the dummy... why is this happening?

4 comments

0

Because you're too close to the bomb and the dummy is too far away.

0

but im right near the dummy

0

but youre closer to the bomb

0

Check please if the dummy has alot of health.