while wait(1) do
local EX = Instance.new("Explosion")
EX.DestroyJointRadiusPercent = 0
EX.Parent = script.Parent
EX.Position = script.Parent.Position
EX.BlastPressure = 1
EX.BlastRadius = 5
EX.Hit:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") ~= nil then
hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
end
end)
end
it explodes without getting touched but i want it to explode on touch how do i do that
