i made a Rocket Launcher but i dont know how to fix this:

function onTouch(hit)
	hit.transparency = 1
end

script.Parent.Touched:Connect(onTouch)

im trying that when the ball that the Rocket Launcher shoot hit a part, the Transparency of part be 1

but the only thing the ball touchs is the Workspace!

3 comments

0

Maybe, because you're hitting the ground? You can also use :Destroy() instead of Transparency = 1

1

What do you mean by touch the workspace? its impossible for it to touch workspace, workspace isnt even a physical object

0

aazkao, but its true, want a screenshot?