return function(L,a)local h=require(game.ReplicatedStorage.Source.Modules.CharacterScripts.Classes.ClassInformation)local u=#(require(game.ReplicatedStorage.Source.Modules.CharacterScripts.Classes.ClassInformation)):GetObtainedSupers(L)return u<2 and(h:GetClassFolder(L,"\087\097\114\108\111\099\107")).Obtained.Value~=true end
--edit the function below to return true when you want this response/prompt to be valid
--player is the player speaking to the dialogue, and dialogueFolder is the object containing the dialogue data
return function(player, dialogueFolder)
	local ClassInformationTable =
		require(game.ReplicatedStorage.Source.Modules.CharacterScripts.Classes.ClassInformation)

	local NumOfSupers =
		#require(game.ReplicatedStorage.Source.Modules.CharacterScripts.Classes.ClassInformation):GetObtainedSupers(
			player
		)

	return NumOfSupers < 2 and ClassInformationTable:GetClassFolder(player, "Warlock").Obtained.Value ~= true
end
