function onTouched(part)
if part.Name == "Bullet" or "Paintball" then
Shield = Instance.New("Part")
Shield.Size = Vector3.new(.2,.2,.2)
Shield.CanCollide = false
Shield.Parent = game.Workspace
Shield.BrickColor = ("Really red")
Shield.Position = script.Parent
mesher = Instance.new("BlockMesh")
mesher.Parent = Shield
mesher.Scale = Vector3.new(0.2, 0.2, (script.Parent.Position - onTouched(part).Position).magnitude)
explosion = Instance.new("Explosion")
explosion.Parent = game.Workspace
explosion.Position = Touched(part)
wait(.5)
part:remove()
print("WORKING!!")
end
end
script.Parent.Touched:connect(Part)
I looked at output in Testing, and it said that: " Attempt to connect failed: Passed value is not a function"
Anyone know what I'm doing wrong?

4 comments
Even afterwards, it lists: Attempt to connect failed: Passed value is not a function - Script 'Workspace.Lokie.Script', Line 23
I just edited it, try that now.
Still won't work, lists the same problem..
Can you put some prints in there and see where it gets to?