01 | local part = script.Parent |
02 |
03 | part.Touched:Connect( function () |
04 | script.Parent.Sound 1 :Play() --play drop sound |
05 | workspace.AirDrop.Dropdown.Disabled = false --launch |
06 | workspace.AirDrop.Transparency = 0 --reveal airdrop |
07 | wait( 18 ) |
08 | workspace.AirDrop.Dropdown.Disabled = true --reset down fall script for next one |
09 |
10 |
11 | end ) |
line 3 doesn't fire! i am trying to make an airdrop drop when the plane touches it. the airdrop and the plane are both unions. m8 that be the problem? else if so, what do i need to do?
I think this might work but i'm not sure
01 | local part = script.Parent |
02 |
03 | part.Touched:Connect( function (hit) |
04 | if hit.Name = = "Part" then -----Whatever the name of the part is |
05 | script.Parent.Sound 1 :Play() |
06 | workspace.AirDrop.Dropdown.Disabled = false |
07 | workspace.AirDrop.Transparency = 0 |
08 | wait( 18 ) |
09 | workspace.AirDrop.Dropdown.Disabled = true |
10 |
11 |
12 | end ) |