I have a script which would fire a remote event to a specific player like this:
game.ReplicatedStorage.ExpChanged:FireClient(player) -- player is the variable which represents the specific client to fire and ExpChanged is the remote event
And the function to be ran in a local script when the event fires is this:
game.ReplicatedStorage.ExpChanged.OnClientEvent:Connect(function() print("Random code here") end)
For some weird reason, the script fires the event without causing any errors, and yet my local script doesn't seem to be carrying out the function. What am I doing wrong??