#Event immediately fires after joining

1 messages · Page 1 of 1 (latest)

lost yoke
#

can u share teh code properly?

kind bramble
lost yoke
#

u can try debug.traceback?

kind bramble
#

I checked every script that might be firing it and attached a print() to it, nothing did anything

lost yoke
#

see what isfiring it

kind bramble
#

how would i put it in

lost yoke
#

debug.traceback()

#

print(debug.traceback())

lost yoke
kind bramble
#

sorry had to fix some stuff

#

lemme check now

#

idk what this means

lost yoke
#

oh nw, here do this

#

debug.traceback("",2)

kind bramble
lost yoke
#

is that your answer?

kind bramble
lost yoke
#

wait mb

kind bramble
#

this is the weirdest part

#

i checked everything and nothing is supposed to fire that event

river shore
#

what does cutScene returns

lost yoke
river shore
#

then connect it to a func and call there cutScene, if not you're just calling cutScene

kind bramble
river shore
#

it runs one time when you join cuz you're calling it

kind bramble
#

i had it collapsed so people could see the full script

kind bramble
river shore
#

because you're calling the function

#

look at your script

kind bramble
#

the debug traceback works kind of, i see what line would cause it but they're all conditional, mostly requiring a text button to be activated

river shore
#

commonly you want to do
.OnClientEvent:Connect(func)

or

.OnClientEvent:Connect(function(...: any)
func(...)
end)

kind bramble
#

problem is it wasn't activated and it still sent

river shore
#

xd

#

Read again all what I sent

lost yoke
#

omg i need to go to sleep

kind bramble
#

i have lines like that but none of them call the function

lost yoke
#

recheck it

kind bramble
#

bro ive checked it like 5 times now

#

you guys see the entire script, you can check for yourself

#

replaced the conditional firing with a warn, it doesn't fire unless I put it in there