So, I have a baseball. When its hits the strike zone its supposed to completely go visible which doesn't actually happen. Here's the code.

local SZ = script.Parent
local Baseball = game.StarterPack.Baseball

SZ.Touched:Connect(function(hit)
	if hit.Parent:FindFirstChild(Baseball) then
		SZ.Transparency = 0
	end
end)

4 comments

0

findfirstchild takes a name (string), not an object, to fix it do Baseball.Name

0

It still refuses to work.

0

Because the real baseball is inside the backpack/character not in StarterPack

0

How would I fix that?