Im making a game and I want the users to walk up to characters end a billboard gui will appear telling them to press E. However I want to make this functional with touch but for some reason it's not registering the touch. Here is the code below

for _,npc in pairs(NPCS:GetChildren()) do
		npc.UpperTorso.EToGift.Frame.TextButton.MouseButton1Click:Connect(function()
			if Player.Character and Player.Character:FindFirstChild("HumanoidRootPart") then
				for _, npc in pairs(NPCS:GetChildren()) do
					if (npc.HumanoidRootPart.Position - Player.Character.HumanoidRootPart.Position).magnitude < 15 then
						if npc.Enabled.Value and Player.OtherInfo.Backpack.Value > 0 then
							game.Workspace.Events.DisableNPC:FireServer(npc)
						end
					end
				end
			end
		end)
	end