I'm trying to make multiple arguments using one RemoteEvent for my shop so exploiters can't exploit RemoteEvents. Here's my script for reference:
game.ReplicatedStorage.ShopService.OnServerEvent:Connect(function(Player, SodaPop,SandWhich,Water)
if SandWhich then
local SandWhich = game.ServerStorage.Tools.Consumables["Sand Which"]:Clone()
SandWhich.Parent = Player.Backpack
Player.Stats.Cash.Value = Player.Stats.Cash.Value - 8
end
if Water then
local Water = game.ServerStorage.Tools.Consumables["Water"]:Clone()
Water.Parent = Player.Backpack
Player.Stats.Cash.Value = Player.Stats.Cash.Value - 4
end
if SodaPop then
local SodaPop = game.ServerStorage.Tools.Consumables["Soda Pop"]:Clone()
SodaPop.Parent = Player.Backpack
Player.Stats.Cash.Value = Player.Stats.Cash.Value - 15
end
end)
In my LocalScript theres 3 variables that say "= true" after them to try make them work so I do game.ReplicatedStorage.ShopService:FireServer(SandWhich) etc. But that doesn't work because either way it gives me the SodaPop. So I need help with an explanation of some sorts. Thanks.

3 comments
In the local script try to do game.ReplicatedStorage.ShopService:FireServer(false, true, false)
^^^^^^ Doesn't work because I'm trying to fire multiple arguments and I cant to that for each one.
Are you trying to make all of them true? I'm a bit confused on what you're trying to do. If so, then do game.ReplicatedStorage.ShopService:FireServer(true, true, true)