I did not know what to call it except for a folder with content inside. Effectively, when this folder is put in the player's backpack, all spells become able to be used. What I want to do is make it so that a GUI also appears which will have all the keybinds for the spells on it. I do not know how to make the GUI appear when the folder is in your backpack and was wondering how since there are going to be multiple elements and I only want the element the player is using's GUI to appear. I can do this with a tool but I am not using a tool so I do not know how to go about this.
COMMUNITY QUESTION
How do I create a GUI that appears when the specified folder is in your backpack?
1 answer
If you can give the gui's script and the current script,i can help,but maybe what u want is to use this:
local folderPar = --the parent that will hold the folder
--if in the folder's parent have many other variables
if folderPar:FindFirstChild("Folder name here") then
-- open the gui
end
this should be in gui script,this code is the requirement for the gui to appear if u give me the gui script i can put it inside for u
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Sorry for the late reply, the only code I have is the code to open the GUI on button click. What I want to do is to make it so that the button to open this GUI only appears if the folder is in your backpack.
ok so can u give me the gui open code,i can write the full script for u