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
1 | script.Parent.MouseButton 1 Click:connect( function () |
2 | local player = script.Parent.Parent.Parent.Parent |
3 | if player.Name = = game.Workspace.House 1. Own.Value then |
4 | game.Workspace.Garage 1. Transparency = 0.5 |
5 | game.Workspace.Garage 1. CanCollide = false |
6 | end |
7 | end ) |
Three things is own and value inside of House1 and in the (function() put click in the (function(click) and then try local player = click.Parent