bro
how do i make it fire when i hit A
local function OpenMenu()
if CurrentTab == "Discovery" then
CurrentTab = "Transistionion"
warn("Going to creating league, from Discovery")
local playerGui = player:WaitForChild("PlayerGui")
local DSCT = playerGui:WaitForChild("ButtonHandler").League.DiscoveryFrame.ScrollingFrame
fadeUI("DiscoveryFrame", false)
BackBtn.TextButton.Interactable = false
Makeleague.GroupCreateBack.TextButton.Selectable = false
wait(.7)
fadeUI("CreateLeague", true)
elseif CurrentTab == "GroupInfo" then
CurrentTab = "Transistionion"
warn("Going to creating league, from Discovery")
warn("Right Here")
GroupInfoPage(false, CurrentGroup, true)
BackButtonFade(false)
BackBtn.TextButton.Interactable = false
Makeleague.GroupCreateBack.TextButton.Selectable = false
wait(.7)
fadeUI("CreateLeague", true)
else
end
end
btn.MouseButton1Click:Connect(OpenMenu)
btn.Activated:Connect(OpenMenu)