Local script:
clr is not a variable but from what I have read it does not have to be since it means player.
Target = mouse.Target.Name
print(Target)
InventoryIncrease:FireServer(clr,Target)
mouse.Target:Destroy()
Server script:
InventoryIncrease.OnServerEvent:connect(function(clr,Target)
print(clr)
print(Target)
game.ServerStorage.Inventory[clr].InventoryStuff[Target].Value = game.ServerStorage.Inventory[clr][Target].Value + 1
end)
Output:
Grass
shabbs15
nil
16:00:35.901 - Workspace.Communication:40: bad argument #2 to '?' (string expected, got Object)
16:00:35.902 - Stack Begin
16:00:35.903 - Script 'Workspace.Communication', Line 40
16:00:35.903 - Stack End
As you can see, I pass the text "grass" to the server but it returns nil when I print in server. Filtering enabled is on as well.

2 comments
m8 your wrong. I figured out that I forgot to enable filtering enabled. But thx for writing this
actually doesnt work