Alright so, I have been working on a UI-based music system. And I need to transfer multiple values via a RemoteEvent from one LocalScript to an Serverscript. But whenever I do this, the values just somehow mix up and im just left confused.
Localscript values and value transmission:
local isplaying = false
local songid = ""
local loop = false
local volume = 1
local yes = 2
//some code
event:FireServer(isplaying, songid, loop, volume, yes)
The first parameter passed in OnServerEvent is the player who fired the remote. So when you try and print “IsPlaying” you get your player “Flauschi_XD” printed out instead of the bool you want.