Remote event and data saving

  1. What do you want to achieve? Im trying to save whenever player buys stuff

  2. What is the issue? Im using remote event to trigger saving sending info of the stuff player bought with the event and script cant find it (stuff player bought) in the table related for data saving

  3. What solutions have you tried so far? using print command checking if table contains it and checking it fired true info

This is the reciving code

InvSavingEvent.Event:Connect(function(EventPlr, eventInvWho, eventInvHow)
		if plr.Name == EventPlr then
			print(eventInvWho)
			print(table.find(SessionData[plr.UserId], eventInvWho))
		end
	end)

eventinvwho is the name of the stuff eventinvhow is the how much bought

this is the sender code