I'm trying to script build and here is what I have so far:
chr = workspace.supercoolguy53
mouse = game.Players.LocalPlayer:GetMouse()
part = Instance.new("Part",chr)
part.CanCollide = false
part.Anchored = true
part.BrickColor = BrickColor.White()
part.Transparency = .9
part.Size = Vector3.new(7,7,7)
mesh = Instance.new("SpecialMesh",part)
mesh.MeshType = "Sphere"
part.Touched:connect(function(p)
local h = p.Parent:FindFirstChild("Humanoid")
if h and h.Parent.Name ~= "supercoolguy53" then
h.Parent:Destroy()
end
end)
mouse.KeyDown:connect(function(key)
if key == 'q' then
wait()
clone = part:clone()
clone.Parent = chr
clone.Name = 'part1'
wait()
for i = 1,500 do
game:GetService('RunService').RenderStepped:wait()
clone.CFrame = CFrame.new(clone.Position + (clone.CFrame.lookVector*1))
end
end
end)
clone.Touched:connect(function(pA)
local h = pA.Parent:FindFirstChild("Humanoid")
if h and h.Parent.Name ~= "supercoolguy53" then
h.Parent:Destroy()
end
end)
while game:GetService('RunService').RenderStepped:wait() do
part.CFrame = chr.Torso.CFrame
end
It only shoots one way, and if the clone touches someone else they don't get destroyed. But if someone touches the original part they get destroyed:

3 comments
https://gyazo.com/4da048a5a504ac8308424e23fd0bf245
Are you sure mine doesn't work? It works fine for me. You can visit my game and try it, it's the exact same script I answered with.
Nevermind some other script messed it up :/