Unable to connect button bordering two flame

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Call global function or show teleport window

  2. What is the issue? Pressed Tele button in buttonFlame, but didn’t show ShortcutTele and buttons within.
    See screenshot, especially 13:04:24.

  3. What solutions have you tried so far? Other way is in ShortcutTele.masterScript, but not acting.

After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!

MultiButtonControl(Local)

local buttons=script.Parent
local bdex=buttons.Parent:WaitForChild("BookDex")
local stele=buttons:WaitForChild("ShortcutTele")

buttons.buttonFlame.Tele.Activated:Connect(stele.masterScript.TeleActivate)
buttons.buttonFlame.BookDex.Activated:Connect(function()
	if bdex.Enabled then
		print("Enabled")
	else
		print("Disabled")
	end
end)

ShortcutTele.masterScript(Script)

-- Original: Frozengaia's TeleportGUI
local ds = game:GetService("ReplicatedStorage"):WaitForChild("DatastoreControl")
local panels = script.Parent
local pgui = panels.Parent.Parent
local IsStudio = game:GetService("RunService"):IsStudio()
local button
panels.Parent:WaitForChild("buttonFlame")
button = panels.Parent.buttonFlame:WaitForChild("Tele")

function calling()
	print("Called")
end

function TeleActivate()
panels.Visible = true
	print("Main for Tele")
local userId=pgui.Parent.userId -- Defining our variables. They're not local variables! 
for n,o in pairs(script.Parent:GetChildren())do -- N O spells no. xD
if(o:IsA("GuiObject"))then -- GamepassService is so much easier.
local dn=o.Name
local BadgeId=o.BadgeId.Value -- NumberValue called BadgeId. Change the Value property of it to the ID of the badge you want the user to have in order for the GUI to show up on their screen.
if BadgeId==0 or IsStudio then
o.Visible = true
else
local dsbackup,dsfound = ds.IsteleFound(pgui.Parent,dn)
o.Visible = (not dsbackup and dsfound) or game:GetService("BadgeService"):UserHasBadge(userId,BadgeId) -- GamepassService is so much easier.
end end end --Putting two ends on the same line saves space. :P
end

button.Activated:Connect(calling)

You can’t call functions that belong to other scripts. You have to use a module script or combine your scripts into one.

Then, how to fix with using other side(printing “called” into console)?

It’s probably being called because of this connection, try connecting it to your TeleActivating function instead.