What do you want to achieve? Link global function to button
What is the issue? I tried to create map styled teleport, but doesn’t show teleport window.
This is original code that console saying “Not function”:
-- Original: Frozengaia's TeleportGUI
local panels = script.Parent
local pgui = panels.Parent.Parent
local IsStudio = game:GetService("RunService"):IsStudio()
button = panels.Parent.buttonFlame:WaitForChild("Tele")
What solutions have you tried so far? I
used this variation, but console says not linked actually.
print("Main for Tele")
You’re calling the function when you put it in the
Connect, remove the
() to pass in the function itself
If you need a more visible example
You should write as
Credit @EmbatTheHybrid for the solution as she posted first
Thank you. Now time for real issue.
Button is in other flame.
ShortcutTele.masterScript(Script) is script in #1.
You can’t call an external function like that as
calling is exclusive to that script only, you may need to use something like a BindableFunction that you invoke from other scripts
BindableFunction is new to see. I’ll check it.