FindFirstChild is useful if you want to verify an object something exists before continuing
nill is nothing u can use nill to check if its there if Target1 is there i think is what u wanted then
01 | local Target 1 = game.ReplicatedStorage:FindFirstChild( "Shot-1Letter" ) |
02 | local Target 2 = game.ReplicatedStorage:FindFirstChild( "Shot-2Letter" ) |
03 | local Target 3 = game.ReplicatedStorage:FindFirstChild( "Shot-3Letter" ) |
04 | local Target 4 = game.ReplicatedStorage:FindFirstChild( "Shot-4Letter" ) |
05 | local Target 5 = game.ReplicatedStorage:FindFirstChild( "The-1Letter" ) |
06 | local Target 6 = game.ReplicatedStorage:FindFirstChild( "The-2Letter" ) |
07 | local Target 7 = game.ReplicatedStorage:FindFirstChild( "The-3Letter" ) |
08 | local Target 8 = game.ReplicatedStorage:FindFirstChild( "Gun-1Letter" ) |
09 | local Target 9 = game.ReplicatedStorage:FindFirstChild( "Gun-2Letter" ) |
10 | local Target 10 = game.ReplicatedStorage:FindFirstChild( "Gun-3Letter" ) |
14 | if Target 2 = = nil then |
15 | if Target 3 = = nil then |
16 | if Target 4 = = nil then |
17 | if Target 5 = = nil then |
18 | if Target 6 = = nil then |
19 | if Target 7 = = nil then |
21 | if Target 9 = = nil then |
22 | if Target 10 = = nil then |
23 | game.StarterGui.s.GreenTick.Visible = true |
tell me if i forgot to explain something