Why does this script allow every team to use NVG?

Why does this script allow every team to use NVG?

local UserInputService = game:GetService('UserInputService')
local Enabled = false

UserInputService.InputBegan:Connect(function(input)
	
	if input.UserInputType == Enum.UserInputType.Keyboard then
		if input.KeyCode == Enum.KeyCode.N then
			if LocalPlayer.Character.Humanoid.Health > 0 then
				if LocalPlayer.Team == 'Administration' or 'Security Department' then
					if not Enabled then
						LocalPlayer.PlayerGui:WaitForChild("Information Gui").NVToggle:Play()
						LocalPlayer.PlayerGui:WaitForChild("Information Gui").NV.Visible = true
						game.Lighting.Ambient = Color3.fromRGB(0, 255, 0)
						Enabled = true
					elseif Enabled then
						LocalPlayer.PlayerGui:WaitForChild("Information Gui").NVToggle:Play()
						LocalPlayer.PlayerGui:WaitForChild("Information Gui").NV.Visible = false
						game.Lighting.Ambient = Color3.fromRGB(0, 0, 0)
						Enabled = false
					end
				end
			end
		end
	end
end)

Because you did the if statement incorrectly, the first check works fine, but the one after the or is always going to be true, because a string will always default to true. You need to also compare the LocalPlayer’s team. Also, I think you mean to compare names

if LocalPlayer.Team.Name == 'Administration' or LocalPlayer.Team.Name == 'Security Department' then

If you plan on adding more teams to use NVGs, best you make a table of all the team names allowed to use them and use table.find