I have a folder in workspace called "PickedGun", and a viewmodel from replicatedstorage is added to it depending on which gun the player chose via gui buttons. I made a scope gui that is only enabled for the AWP viewmodel, and I'm trying to get it to detect whether the "PickedGun" folder has the AWP model. Here is the script.

awp = workspace.PickedGun:FindFirstChild("AWP")
if awp then
	script.Disabled = false
end

local frame = script.Parent.Parent.Scope 
	script.Parent.MouseButton2Click:connect(function()
	frame.Img.LocalScript.Disabled = false
end)