When I made a burger tool with all the stuff,lettuce,tomato,cheese,onion,patty. I made it so u can cook the patty (That works) but, When i put the cooked patty in icp.
script:
script.Parent.Touched:connect(function(hit)
if hit.Parent.Name == "Cooked Meat" then print("Hit") hit.Bun.Transparency = 0 end
end)
(The bun is a union)
is says in the output: "Bun is not a valid member of Union Operation"
Can anyone help me?