#How do I make this remote event fire individually for each client?? Using FireClient() breaks it.
1 messages · Page 1 of 1 (latest)
I'm pretty sure the only way is using FireClient() so uhh why would it be breaking?
also basically the whole script does not matter much here just the part for the remote event so it must be a minor issue but idk
probably does not matter but this is the remote event that would be fired game.ReplicatedStorage.neutralTeam.OnClientEvent:Connect(function() local player=game.Players.LocalPlayer local neutral=game:GetService('Teams').Neutral player.Team=neutral end)
also not the part i need the remote event to fire to client, just that whichever remote event i have tried FireClient() in just broke the script
where are you using FireClient?
i didnt cus it wouldnt work, i just used fireallclients to test the game in the mean time so the first script i sent
where it says FireAllClients()
the remote event just wouldnt fire
this one
but it did not work for any of my rmeote events that i tried it in so im assuming im just doing something wrong??
Wait am I supposed to put player inside the parameter cus if so then my script also breaks when I define

yes you have to put the player you're firing to when doing FireClient
wdym breaks? u get errors?
i mean it doesnt run, not even giving me errors
how can you tell
wait one min
also idk tf happened to the game area at the end but doenst matter does it
wait this is not how u define player
why on earth do you not use monospaced font
i tried doing it with the :Connect funciton thingy first which also broke it so..
this one looks better
or is it