#Connect Multiple Functions

1 messages · Page 1 of 1 (latest)

light merlin
#

in python it would be

PlaySound()
PlayHover()

maybe try that

#

ik most coding languages are pretty similar so maybe that would work 💀

brazen badger
#

Are u trying to connect 2 functions to 1 mouse button

brazen badger
#
    function Two()
        PlaySound()
        PlayHover()
    end
Two()```
scenic oar
scenic oar
#

are u cool with me asking u more questions cuz u seem goated

brazen badger
#

wait u can do this ```lua
local function Print()
print('Help')
end
local function help()
print('Hello')
end
local function Hola()
print('test')
end
function All()
Print()
help()
Hola()
end
All()

#

list goes on forever if u have a lot

#

as u see it works

scenic oar
#

yeah thanks

#

my other question is

brazen badger
brazen badger
scenic oar
#

how would i better group these variables

#

its for GUI

#

they are all buttons

#

and i want to group them as one variable

#

but is that the best way?

brazen badger
#
local Buttons = {Button1,Button2,Button3, and so on}```
scenic oar
#

beautiful

#

you are a god

brazen badger
scenic oar
#

thanks for helping me make an anime game like every other dude on the planet

brazen badger
#

lol

brazen badger
scenic oar
#

ok so

#

what that does is make a new part in folder?

#

also what is "task.wait()"

brazen badger
#

and can work for a lot of things

scenic oar
brazen badger
scenic oar
brazen badger
#

no they still work its just oudated

brazen badger
scenic oar
#

well i mean would it be cool if i sent u my entire GUI script and u could help me shorten it or show what was definitely unnecessary

light merlin
#

put them in a folder

#

(Or a table)

#

Either one works

#

tables are just folders for nerds 🤷‍♂️

scenic oar
#

is this a table or a folder?

#

because its what i started using

light merlin
#

also known as an array but dont call it that or you're a nerd

#

just saying

scenic oar
#

🤓

light merlin
#

a folder is just a literal folder

scenic oar
#

ohhh

#

and then u call the folder

#

right?

light merlin
#

pretty much

#

get the children of the folder

scenic oar
#

thanks man

light merlin
#

yw 👍