Why am I getting this error?

I am making a boombox system and need to fire some events however I am getting this error
image

Server code:
image

Client Code:
image

1 Like

in Client code you don’t need the Player Instance in FireServer, you just need to pass in the input arguements you want on server side, the player is automatically passed Internally

1 Like

Thanks! This is probably the quickest soloution I’ve ever given out :smile:

1 Like

To sum it up:
soundid in this case is the player instance you sent from the client.
As player is automatically passed, it would look like this in your example:

.OnServerEvent:Connect(function(Player1, Player2, Argument) end)
1 Like