Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

[SOLVED]How can I make a local script communicate with another local script?

can anyone help me, im trying to make a local script fire a remote event in replicated storage and activate another local script (it has a OnClientEvent, a listener), i used :FireClient(Player), but all it says is just "FireClient can only be called from the server". How am I supposed to make 2 clients communicate with eachother?

3 comments

0

Why do you want 2 clients to communicate with each other??

1

By using a event called Bindable Function

0

im trying to make it so when someone presses f, a local event runs to check the mouses position then after that it fires a server event

2 answers

Well you could use a Bool Value and then change the value. In the other script use GetPropertyChangedSignal on the value.

i found the answer by bindable functions (Xviperlink)

This discussion is preserved as it was. New answers, comments, and votes are closed.