#Client function not firing

1 messages · Page 1 of 1 (latest)

old berry
#

The error is telling me that it’s not a function but there are no typos. Help

wild matrix
#

u connected wrong

#

connect(fireServer)

royal anvil
#

yes

#

i was about to comment

#

dang it

old berry
crude pulsar
meager saffron
#

spelt it wrong

#

and also why do you need a function for fireserver

#

@old berry

#

send code again

old berry
meager saffron
#

show me your script

magic bane
#

It’s end) not end line 6

old berry
#

Ok it’s no longer giving a error but it isn’t printing anything

magic bane
#

Or am i stupid

#

🤔

old berry
#

Yeah that gave me a error

magic bane
old berry
magic bane
old berry
magic bane
#

all functions end with )

#

what the

#

after fire server thingy press space it will auto put the correct end thing

old berry
magic bane
#

Local functionvariable = ur function
tool.activated:Connect(variable)

old berry
#

What

magic bane
#

make a variable equal to the function

#

and call the variable into the connect

old berry
#

Uh

magic bane
#

basically do this

meager saffron
#

ye its the end

old berry
#

Wait I think I know what you mean

magic bane
magic bane
meager saffron
#

maybe no )?

magic bane
#

add a end for the function

meager saffron
#

no parentheses

magic bane
#

tool activated event

#

add a end)

meager saffron
#

oh yea

#

wait maybe

#

idk

#

nvm

#

its not that

#

its the end

magic bane
#

why not

meager saffron
#

idk

old berry
magic bane
#

try

meager saffron
#

cuubey remove the parenthese maybe?

magic bane
#

If i had my pc i would solve this in 10s

#

😮‍💨

old berry
magic bane
#

tool.Activated:Connect(urFunction)

end)

#

@old berry

#

add a end)

#

try

old berry
#

Yeah that obviously won’t work

kindred hearthBOT
#

studio** You are now Level 6! **studio

crude pulsar
#

@magic bane What the hell are you doing

#

No end)

#

Just end

meager saffron
#

exactly

#

thats what i said

magic bane
#

it’s a function

#

ok yall are making me feel stupid

old berry
#

@magic bane is gaslighting me fr

magic bane
meager saffron
#

the function is already in the tool.activated

#

the end is already in his function

#

the fireServer

#

already has an end

#

we don't need 2

old berry
crude pulsar
old berry
#

Only when directly connecting one

magic bane
#

when did Roblox update

#

i swear all functions had end)

crude pulsar
#

You mean when do you :Connect(function() end) 🥀

old berry
magic bane
old berry
#

Same error

magic bane
# old berry

just make the function inside of the event please

meager saffron
#

show the error log bro

old berry
old berry
meager saffron
#

wait what show ur code

magic bane
#

how did it print lol when it errored

#

are u sure that’s not another script

meager saffron
#

ya

#

that true

old berry
old berry
#

Idk why it’s doing that

magic bane
old berry
meager saffron
#

no end bro

crude pulsar
meager saffron
#

you and these ends

old berry
#

I TRIED THAT LIKE 3 TIMES

magic bane
#

alright

old berry
crude pulsar
magic bane
old berry
magic bane
#

jk

crude pulsar
old berry
#

Anyways my code still doesn’t work

magic bane
#

Ive never used a event like u did

#

so I was also confused

#

i always do etc.etc:connect(function()

end)

meager saffron
#

no end.

old berry
crude pulsar
#

Full code

#

Send ss

meager saffron
#

send it

#

send it

old berry
magic bane
meager saffron
#

oh

old berry
#

I gotta go unfortunately

#

If anyone finds the answer put it in here

crude pulsar
#

Nah wdym it doesnt work it works for me

old berry
meager saffron
#

you have to do

magic bane
#

ur error is on another script

meager saffron
#

local function fireServer()

magic bane
#

It did print lol

meager saffron
#

@old berry

magic bane
meager saffron
#

i guess but just try it

crude pulsar
meager saffron
#

alr yea

magic bane
#

his error has to be on another script

#

i think he’s just confused

meager saffron
#

its prob on the

#

serverscript

magic bane
#

yeah

#

Ive never done a event like that