so basically I made this simple script that should trigger a shotgun when a part is touched. it will make a bunch of little parts visible making it look like shogun fire, but the script spawns in every part individually every 1 second not all in once
function onTouch(part)
local humanoid = part.Parent:FindFirstChild("Humanoid")
if (humanoid ~= nil) then
local all = script.Parent.Parent:GetChildren()
for i, v in pairs(all) do
if v.Name == "Bullet" then
v.Transparency = 0
wait(1)
v.Transparency = 1
end
end
end
end
script.Parent.Touched:connect(onTouch)
