Nothing to say but why doesnt it to the Fire to the Client?
Argmuent 3 is missing but everything should be right???
This is the 1 connection
This is the 2 connection
Nothing to say but why doesnt it to the Fire to the Client?
Argmuent 3 is missing but everything should be right???
This is the 1 connection
This is the 2 connection
Maybe it is because I need to put a parameter?
--You need to use
:Connect(function()
print("Text here")
end)
You cannot use FireClient on the client, you can only use it on the server
You need to listen to OnClientEvent and use :Connect
In your case, you should consider using bindable events
Remote functions or bindable events would work as remote events only operate in cross client and server communication.
So how can I solve it now with bindable events?
how can I use remote functions here?
I want fire from the client to the client
Maybe fire from client to server then from server back to client?
I would instantly do that but thats not possible with what I am trying
Client to Client or Server to Server is used with Bindables, Remotes are from Server to client and vice versa.
-- local script 1
local bindable = -- create a new bindable event instance and put it here
-- do stuff
bindable:Fire()
-- local script 2
local bindable = -- same thing, put the bindable event here
bindable.Event:Connect(function()
-- do stuff
end)
I will try it now and soon I will give you an feedback if it works
Basically, this is how RemoteEvent works.
check:FireClient() can only be used from the server to the client.
I’m pretty sure you should learn to use Bindable Events
No, I do know how to use bindable but I forgot it connects from client to client etc.
actually yes I need to learn it
In connection 1 on line 40, you would do check:Fire()
In connection 2 on like 30, you would do check.Event:Connect(function()
, and make sure it is a LocalScript. Also, UserInputService is Client only.
Here are some documentations if you want to learn more:
If you need more assistance, you know where to find me. Thank you, WE
Since I was probably the first actual person here to send a link about bindable events (click Bindable events thats blue) May you close this as solved?
actually now I still didnt solve it
I dont know but it doesnt seem work
In connection 1 on line 40, you would do
check:Fire()
In connection 2 on like 30, you would docheck.Event:Connect(function()
, and make sure it is a LocalScript. Also, UserInputService is Client only.
Bindableevent yes?