#Function not being able to run

13 messages · Page 1 of 1 (latest)

atomic pewter
#

Can I know which is the Network module if it can be¿?

candid aspenBOT
#

studio** You are now Level 3! **studio

atomic pewter
#

nah np, but i would like to know what is the module of network

#

yeah what i was searching about, tysm!

atomic pewter
#

a question

#

how can i pass more than one argument¿?

#

like this is what i do and dont work

#
local BridgeNet2 = require(game:GetService("ReplicatedStorage"):WaitForChild("BridgeNet2"))

local Event1 = BridgeNet2.ClientBridge("Prueba")

Event1:Fire("hola", "jaja", "grande", "aaaa", "Perfecto")

server:

local BridgeNet2 = require(game:GetService("ReplicatedStorage"):WaitForChild("BridgeNet2"))

local Event1 = BridgeNet2.ServerBridge("Prueba")

Event1:Connect(function(player, ...)
    local args = {...}  -- Recoge todos los argumentos en una tabla
    for i, v in ipairs(args) do
        print(v)  -- Imprime cada argumento
    end
    print(player.Name)
end)

#

ignore the spanish things

#

and only prints "hola"

#

ah alright i got it

#

basically convert all the passed arguments to an table right

#

?