I have not scripted in a while and this script has no error in the output neither does what I asked so check it over please
script.Parent.MouseButton1Click:connect(function()
local player = script.Parent.Parent.Parent.Parent
if player.Name == game.Workspace.House1.Own.Value then
game.Workspace.Garage1.Transparency = 0.5
game.Workspace.Garage1.CanCollide = false
end
end)

2 comments
oh lol well glad you could fix it
also next time explain what you have in the game for something likke this