#help userinputservice function wont work it was working before i put the remote function

1 messages · Page 1 of 1 (latest)

cerulean pagoda
tight flame
#

Have you tried checking if the 2nd script is running?

#

and why are there so many big gaps in the code COVID isn't in code you don't gotta social distance code

cerulean pagoda
#

makes it clear

#

the second one is running i know because the problem is the first one, it doesnt print

slender forum
#

I believe it can only be used once

steady needle
slender forum
cerulean pagoda
#

i need both of them though

cerulean pagoda
#

i looked through the dev forums it says there is no limit to how many you can use

#

this is so annoying

slender forum
cerulean pagoda
#

i need 2 variables

slender forum
#

I believe you can combine the two

slender forum
cerulean pagoda
#

i did

#

again only inventory worked

slender forum
cerulean pagoda
slender forum
cerulean pagoda
#

yeah because its the script

slender forum
cerulean pagoda
#

ill try that again ig

slender forum
#

do you already know or should I give an example

cerulean pagoda
#

in the same line?

slender forum
#

yes

cerulean pagoda
#

then i dont know

slender forum
#
local function something(a : number, b : number)
   local x = a + b
   local y = a * b
   return x, y
end
-- wrote on mobile, idk if the format is readable
print(something(2, 3))
cerulean pagoda
#

alr thx

#

yoo its working now nice

slender forum
slender forum
cerulean pagoda
#

how

#

wait actually its pretty self explanatory

slender forum
cerulean pagoda
#

oh

slender forum
#

maybe you would have came up with that first

#

that was my first thought

#

if your line of thinking went the same way

cerulean pagoda
#

it appears i have encounted another problem

#

when i print selectedSlot here, it prints the name of the instance in the table, which is what i want

#

but here, when i print it it prints the inventory table i made for the player

#

wait i just realized

#

it’s printing inventory