#fireclient() help
1 messages · Page 1 of 1 (latest)
did the print run from this code
Where's the script located
the local ]
local script is in replicated first
the script firing the event is in a tool
cutscenepart.parent is not shown the indentation threw me off
looks like you're only using it for the cframe anyway. why not just send that instead of a part?
the parent of the cutscenepart is workspace
i try sending the cframe but it sends weird info
let me screenshot a example
my main problem though is that the arguements i send arent working
eg i send the nummber
** You are now Level 6! **
to client thing
so the client does task.wait(num)
but it doesnt get num and stuff
looks fine to me
then whats going on
though why is your indentation just horribly wrong
should i try cframe.position instead of cframe
why
are
you
writing
code
like
this```?
i would need to see more of this
no cframe sends fine, for some reason you're sending one with no position or rotation maybe you're doing other things
im not sure what you mean
im sending the essential information
the rest in that script is unneccesary
show me the whole function i'd need to see what user is
i cannot see any issues based on the code you sent.
i'm guessing user is wrong, or maybe you're messing with the character or something
could be anything
detects keybind pressed script then does its things then sends a fireclient and does a cutscene
but if you think the issue is in the snippets you put, and is only there, well, sorry to say but i don't see it. maybe someone else will. good luck 
well do you atleast know why onclientevent is not working
its firing client but it doesnt do anything
it is working
if it wasn't, this would be printing nils.
thats printed from the server
in fact it wouldn't be printing anything at all if it wasn't working.
i dont see any prints in your server code. sorry bruh i dont play mind-reading games.
if its not calling at all then it's probably just the wrong event
oh... nevermind, your event is in replicatedfirst, events wont fire from there
replicatedstorage
im not sure why the docs dont specify this, very easy to overlook that problem. last time i checked events in repfirst they wont be received
ye overlooked that too i assumed it was the print from the code shown
it happens 🤷
now the main problem is
my arguements arent going through
it gets nil
``lua
Cutscene.OnClientEvent:Connect(function(part,num)
the part will be nil but the number wont be