Attempt to index nil with 'Backpack'

Currently, I have a script, where to fails to index nil with Backpack.

ReceptionEvent.OnServerEvent:Connect(function(Player, PlayerService, ServiceValue, UserInput, ServiceInput, NormalTools)
	ServiceClone = ServiceValue:Clone()
	ServiceClone.Parent = PlayerService:FindFirstChild(UserInput.Text)
	ServiceClone.Value = ServiceInput.Text

	TicketClone = NormalTools.Ticket:Clone()
	TicketClone.Parent = PlayerService:FindFirstChild(UserInput.Text).Backpack
end)

index nil means that the backpack isn’t defined.
I may be wrong but it seems like you not parenting it properly to the player

are there any output errors in the console?

I don’t think you should be passing the Player service (as well as any other service) through remote events, as you can easily access the service in any other script by just doing game:GetService("SERVICE_NAME"). And you also want to make an if statement checking if the player exists or not

Try using this code:

local Players = game:GetService("Players") -- get the 'Player' service like this

ReceptionEvent.OnServerEvent:Connect(function(Player, PlayerService, ServiceValue, UserInput, ServiceInput, NormalTools)
	local plr = Players:FindFirstChild(UserInput.Text) -- create player variable first

	if plr then -- check if the specified player exists
		ServiceClone = ServiceValue:Clone()
		ServiceClone.Parent = plr
		ServiceClone.Value = ServiceInput.Text
	
		TicketClone = NormalTools.Ticket:Clone()
		TicketClone.Parent = plr.Backpack
	end
end)

it still says backpack is nil. ignore this is just for the character limit

Could you please show the code from your Local Script? There may be an issue on that side, which I will need to identify before assuming any other possible issue.

Hey, have you solved your issue yet? It appears you have made another topic not necessarily related to this, however, I haven’t received a response or an update to this topic. So I was just wondering.